其中有段描述: DH and ECDH are different algorithms. They are based on similar mathematical concepts, but they use completely different data. Classical or "integer" Diffie-Hellman uses a usually-smaller subgroup of the multiplicative group of integers modulo a large prime. Elliptic-curve Diffie-Hellman uses a usually-maximal subgroup of the points on an elliptic curve over an underlying field. A DH key or cert cannot be used for ECDH, and an ECDH key or cert cannot be used for DH.
发布评论
评论(2)
找到几篇文章,上面描述ECDH不使用DH文件:
其中有段描述:
DH and ECDH are different algorithms. They are based on similar mathematical concepts, but they use completely different data. Classical or "integer" Diffie-Hellman uses a usually-smaller subgroup of the multiplicative group of integers modulo a large prime. Elliptic-curve Diffie-Hellman uses a usually-maximal subgroup of the points on an elliptic curve over an underlying field. A DH key or cert cannot be used for ECDH, and an ECDH key or cert cannot be used for DH.
而且看了DH密钥交换和ECDH原理,ECDH完全没有使用ssl_dhparam中的参数.
因此仅使用ECDH是不用配置ssl_dhparam的.
推荐配置一个2048 bit的
否则会采用OpenSSL的1024 bit