2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2020-08-29 20:09:24 +08:00
|
|
|
Long: curves
|
|
|
|
Arg: <algorithm list>
|
|
|
|
Help: (EC) TLS key exchange algorithm(s) to request
|
|
|
|
Protocols: TLS
|
|
|
|
Added: 7.73.0
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: tls
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --curves X25519 $URL
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: ciphers
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: single
|
2020-08-29 20:09:24 +08:00
|
|
|
---
|
|
|
|
Tells curl to request specific curves to use during SSL session establishment
|
|
|
|
according to RFC 8422, 5.1. Multiple algorithms can be provided by separating
|
|
|
|
them with ":" (e.g. "X25519:P-521"). The parameter is available identically
|
|
|
|
in the "openssl s_client/s_server" utilities.
|
|
|
|
|
|
|
|
--curves allows a OpenSSL powered curl to make SSL-connections with exactly
|
2021-11-26 15:46:59 +08:00
|
|
|
the (EC) curve requested by the client, avoiding nontransparent client/server
|
2020-08-29 20:09:24 +08:00
|
|
|
negotiations.
|
|
|
|
|
|
|
|
If this option is set, the default curves list built into openssl will be
|
|
|
|
ignored.
|