问题原文
原帖链接 · John Giotta · CC BY-SA 3.0
I'm testing Tomcat SSL configuration of my server and I was using the ssl-enum-ciphers script of nmap and the following warning appears:
Key exchange parameters of lower strength than certificate key
What does this mean? I can't find meaningful information on this diagnosis.
Tomcat server.xml ciphers:
ciphers="TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,
TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA"
已采纳解答
原帖链接 · bonsaiviking · CC BY-SA 3.0
It means that the server is configured with a certificate having a certain key strength (perhaps 2048-bit RSA), but the particular cipher suite in use is configured to use different key exchange material of lower strength. This is most likely a Diffie-Hellman (DH) parameter with 1028-bit strength.
To fix this, you can either remove DH-related key exchange ciphersuites from your configuration, or generate and configure stronger DH parameters. More direct guidance is available at weakdh.org
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
