Re:SSL Labs: Stricter security requirements for 2014
by gog on Tuesday January 21, 2014 @08:29PM
(#7100036)
Can you share the nginx config?
[ Parent
| on HN ]
Re:SSL Labs: Stricter security requirements for 2014
by aroch on Tuesday January 21, 2014 @09:43PM
(#7100370)
Also not the OP, but this is my conf and it got an A+ with no modifications. Redirects http://www and http:// to https://example.com (also strips www from https://www.), supports sdpy where appropriate, and does OCSP stapling.
Also, my nginx.conf includes
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
Re:SSL Labs: Stricter security requirements for 2014
by RKearney on Tuesday January 21, 2014 @09:21PM
(#7100287)
Not OP, but here's the relevant portion of my Nginx config that scores an A+
Re:SSL Labs: Stricter security requirements for 2014
by ivanr on Tuesday January 21, 2014 @09:29PM
(#7100330)
Some comments:
- You don't need the builtin session cache. According to the Nginx documentation, it's more efficient to rely only on shared memory alone.
- You should use a longer session duration. Five minutes is too short. Use at least one hour there.
- For performance reasons, you might want to enable OCSP stapling.
- SSL Labs does not currently penalize Diffie-Hellman parameters of 1024 bits (the Nginx default), but it's something you should generally look to improve. It's easy with the ssl_dhparam directive. (Some libraries, for example Java 6 and 7, does not support DH params over 1024 bits, though. So take that into consideration.)
Re:SSL Labs: Stricter security requirements for 2014
by RKearney on Tuesday January 21, 2014 @09:48PM
(#7100386)
Thanks for all these suggestions. I was able to implement all of them except for oscp stapling due to our version of nginx not supporting it. Once that gets upgraded that can be implemented too.