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