问题原文
原帖链接 · Vlastimil Burián · CC BY-SA 3.0
I am in progress of trying to get maximum (or almost maximum) score on SSL Labs my site:
I currently don't understand why it does not give me full Key exchange score.
Now, it looks like this:
In spite of, I have generated 4096 DHParameters file, and tried many other things, like buying new certificate of 4096 size.
So, my question for you will be:
SSL Labs Key exchange is less than 100%, why? And how do I make it full?
OS: GNU/Linux Debian 9.2 with Apache 2.4.
已采纳解答
原帖链接 · Vlastimil Burián · CC BY-SA 4.0
In the following file:
/etc/apache2/mods-enabled/ssl.conf
It was necessary to append these lines to ensure the highest grade of key exchange:
SSLOpenSSLConfCmd ECDHParameters Automatic
SSLOpenSSLConfCmd Curves secp521r1:secp384r1
UPDATE 2018-Apr-14
I found out, that (at least Chrome, read more on this topic here), decided to go for lower Key Exchange negotiation, namely P-256 (prime256v1 in Apache2, though SSL Labs reports it like secp256r1) in spite of me having set the above curves.
So, I guess we should add P-256 to the list; please change the second line to:
SSLOpenSSLConfCmd Curves secp521r1:secp384r1:prime256v1
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
