property

https.AgentOptions.ecdhCurve

ecdhCurve?: string

A string describing a named curve, TLS group, or colon-separated list of named curves or TLS groups to use for key agreement, for example P-521:P-384:P-256, X25519, or X25519MLKEM768. The historical name of this option refers to ECDH key agreement in TLSv1.2 and below. In TLSv1.3, this option configures the TLS Supported Groups and key share groups offered or accepted by the TLS stack. Set to auto to select the group automatically. Use crypto.getCurves() to obtain a list of available elliptic curve names. For TLS group names, use openssl list -tls-groups or consult the IANA TLS Supported Groups registry.