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.