Login/Register

SSL Config Generator

Choose your web server and get a configuration with current protocols and ciphers, the redirect from HTTP, HSTS and HTTP/2. It is the setup that gets an A in SSL tests.

What a hardened configuration changes

The default settings of many servers still accept TLS 1.0 and ciphers that were broken years ago. Scanners, auditors and PCI DSS flag that. The generated configuration allows TLS 1.2 and TLS 1.3 only, with ciphers that provide forward secrecy, so a key stolen tomorrow can not decrypt traffic recorded today.

Recommended or strict

Recommended works with every browser and operating system released in the last years and is right for almost every website. Strict allows TLS 1.3 only. Use it for an API or an internal service where you know every client, because older systems such as Android 9, Java 8 without updates or old monitoring agents can not connect.

Before you reload

  • Use the certificate file that includes the intermediate certificates (the full chain), otherwise some devices show a warning.
  • Test the syntax first: nginx -t, apachectl configtest or haproxy -c -f haproxy.cfg.
  • Switch HSTS on only when the whole website works over HTTPS: browsers remember it for a year.

Questions and answers

Where do I put the configuration?
Nginx: a file in /etc/nginx/conf.d/ or sites-available. Apache: /etc/apache2/sites-available/ on Debian and Ubuntu, /etc/httpd/conf.d/ on RHEL-based systems. HAProxy: inside /etc/haproxy/haproxy.cfg. The result page repeats this with the commands to reload.
Will old browsers still work?
With the recommended profile everything from the last years works, including Windows 7 with a current browser. Internet Explorer on Windows XP and Android 4 do not, and should not.
Why is there no OCSP stapling in the configuration?
Certificate authorities are switching OCSP off. Let's Encrypt ended it in 2025. A stapling directive for a certificate without an OCSP address only produces warnings in the log.
How do I check the result?
Run the SSL checker on your domain after the reload. It tests the protocols, ciphers and the certificate chain of the live server and gives a grade.