大网数据广告活动
网站运营与故障问答

SSL Labs Key exchange < 100%, why? How do I make it?

· 52CE 我爱测

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 D…

问题原文

原帖链接 · 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

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-11-26)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。