DEP0083:通过将 ecdhCurve 设置为 false 来禁用 ECDH


【DEP0083: Disabling ECDH by setting ecdhCurve to false

类型:寿命终止

【Type: End-of-Life】

tls.createSecureContext()tls.TLSSocketecdhCurve 选项可以设置为 false,以仅在服务器上完全禁用 ECDH。此模式已被弃用,以便为迁移到 OpenSSL 1.1.0 并与客户端保持一致做准备,并且现在已不再支持。请改用 ciphers 参数。

【The ecdhCurve option to tls.createSecureContext() and tls.TLSSocket could be set to false to disable ECDH entirely on the server only. This mode was deprecated in preparation for migrating to OpenSSL 1.1.0 and consistency with the client and is now unsupported. Use the ciphers parameter instead.】