xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: curves |
| 4 | Arg: <algorithm list> |
| 5 | Help: (EC) TLS key exchange algorithm(s) to request |
| 6 | Protocols: TLS |
| 7 | Added: 7.73.0 |
| 8 | Category: tls |
| 9 | Example: --curves X25519 $URL |
| 10 | See-also: ciphers |
| 11 | Multi: single |
| 12 | --- |
| 13 | Tells curl to request specific curves to use during SSL session establishment |
| 14 | according to RFC 8422, 5.1. Multiple algorithms can be provided by separating |
| 15 | them with ":" (e.g. "X25519:P-521"). The parameter is available identically |
| 16 | in the "openssl s_client/s_server" utilities. |
| 17 | |
| 18 | --curves allows a OpenSSL powered curl to make SSL-connections with exactly |
| 19 | the (EC) curve requested by the client, avoiding nontransparent client/server |
| 20 | negotiations. |
| 21 | |
| 22 | If this option is set, the default curves list built into openssl will be |
| 23 | ignored. |