
Going from HTTP to HTTPS takes nothing more than an SSL certificate. The harder question is what to do afterward to earn a higher security grade — how do you actually harden SSL?

The approach: turn off SSL compression to cut the CRIME attack risk; disable SSLv3 and anything older, which have known protocol flaws; and choose stronger cipher suites to enable Forward Secrecy wherever possible. HSTS and HPKP go on top of that. What you end up with is a robust, battle-tested SSL configuration that scores an A or better on the usual SSL tests.
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";That one line is the whole configuration I'm running now. Add it to your existing server config and the grade jumps from A- to A+ — Nginx SSL hardening done.
Separately, if an SSL scan flags PCI DSS non-compliance, the fix is to drop TLS 1.0 after you've checked compatibility (on every SSL site on that server):
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
Comments No Comments