Skip to content

Menu

SSL Config Generator

Generate SSL/TLS config for web servers

Runs entirely in your browserNetworkFree, no sign-up
Loading tool

01What is SSL Config Generator?

Getting TLS right on a web server means picking protocols, cipher suites, key-exchange groups and headers that all agree with each other. Most of us copy a block from an old blog post and hope. This generator gives you a block based on the server-side TLS guidelines that Mozilla started and the TLSRef project now maintains. You pick a Server (Nginx, Apache or HAProxy), a Profile, and fill in the Certificate Path and Key Path. The tool assembles the config from a fixed table of guideline values. Modern and Intermediate follow guideline 6.0 from April 2026. Old follows guideline 5.8, the last version that still defined it. Modern allows TLS 1.3 only, with its three suites: AES-128-GCM, AES-256-GCM and ChaCha20-Poly1305. Intermediate is the sensible default for most public sites. It allows TLS 1.2 and 1.3, with six ECDHE suites using AES-GCM or ChaCha20-Poly1305. The DHE suites older guidelines listed are gone, so you don't need a DH parameter file. Old re-enables TLS 1.0, TLS 1.1 and 3DES, and appends @SECLEVEL=0 so OpenSSL 3 will accept them. The tool shows a warning with it, and you should take that seriously. Every profile sets the key-exchange groups X25519MLKEM768, X25519, P-256 and P-384. The first is a post-quantum hybrid that needs OpenSSL 3.5 or later, and the output says so in a comment. Each server gets its own layout. Nginx uses the separate http2 on directive from nginx 1.25.1, a shared session cache for Intermediate and Old, and a port 80 server that redirects to HTTPS. Apache gets a redirecting port 80 VirtualHost that leaves ACME challenge paths alone, a 443 VirtualHost with HTTP/2, SSLProtocol starting with -all, and session tickets off. HAProxy gets ssl-default-bind and ssl-default-server settings, plus a frontend that redirects HTTP and forwards to a backend on 127.0.0.1:8080. All three send an HSTS header with a two-year max-age and includeSubDomains. A quick example: Nginx with Intermediate produces ssl_protocols TLSv1.2 TLSv1.3, the six-suite ssl_ciphers line, ssl_session_timeout 1d and ssl_prefer_server_ciphers off. Some things are left to you. OCSP stapling is not included, matching the TLSRef default, because Let's Encrypt has shut down its OCSP responders. The HAProxy backend address is a placeholder. The output is a starting point, not a drop-in file, so merge it into your existing config and run the server's own syntax check. The paths you type are only used to build the text on the page.

Sysadmins and DevOps engineers who need a current, guideline-based TLS block for Nginx, Apache or HAProxy without hand-assembling cipher strings. The tool runs entirely in your browser, so your data never leaves your device.

02How to use SSL Config Generator

  1. Pick a Server: Nginx, Apache or HAProxy.
  2. Choose a Profile: Modern (TLS 1.3 only), Intermediate (TLS 1.2+) or Old (TLS 1.0+, retired in guideline 6.0).
  3. Enter the Certificate Path (certificate plus intermediates) and the Key Path. HAProxy uses one combined PEM file, so only the certificate path appears in its output.
  4. Read the profile notes, including the oldest supported clients and any warning.
  5. Copy the configuration, merge it into your server config and test with nginx -t, apachectl configtest or haproxy -c -f before reloading.

03Worked examples

Input: Server nginx, Profile Modern, cert /etc/ssl/cert.pem, key /etc/ssl/key.pem
Result: ssl_protocols TLSv1.3; ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1:secp384r1; ssl_prefer_server_ciphers off; #ssl_session_timeout 1d; …
Excerpt. Modern has no ssl_ciphers line because TLS 1.3 suites are not set with that directive, and the session cache lines are commented out.
Input: Server nginx, Profile Intermediate (TLS 1.2+)
Result: ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:… ssl_session_timeout 1d; ssl_session_cache shared:MozSSL:10m;
Excerpt; the cipher list is truncated. All six TLS 1.2 suites are ECDHE with AES-GCM or ChaCha20-Poly1305.
Input: Server apache, Profile Modern
Result: SSLProtocol -all +TLSv1.3 SSLOpenSSLConfCmd Curves X25519MLKEM768:X25519:prime256v1:secp384r1 SSLCipherSuite TLSv1.3 TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256 SSLHonorCipherOrder off
Excerpt of the global lines after the VirtualHost blocks.
Input: Server apache, Profile Old
Result: # old configuration, Mozilla/TLSRef guideline v5.8 SSLProtocol -all +TLSv1 +TLSv1.1 +TLSv1.2 +TLSv1.3 …:AES256-SHA:DES-CBC3-SHA:@SECLEVEL=0 SSLHonorCipherOrder on
Excerpt. Old comes from guideline 5.8 because 6.0 dropped it, and the tool warns that it re-enables TLS 1.0/1.1 and 3DES.
Input: Server haproxy, Profile Intermediate
Result: ssl-default-bind-options prefer-client-ciphers ssl-min-ver TLSv1.2 no-tls-tickets ssl-default-server-options ssl-min-ver TLSv1.2 no-tls-tickets … bind :443 ssl crt /etc/ssl/cert.pem alpn h2,http/1.1
Excerpt. HAProxy reads one PEM with the certificate, chain and key, so the key path is not used.

04Common use cases

  • Hardening TLS on an Nginx reverse proxy before a security audit or penetration test
  • Setting up HTTPS on an Apache VirtualHost with Let's Encrypt certificates while keeping ACME HTTP-01 renewals working
  • Configuring TLS termination in HAProxy in front of an app server listening on a local port
  • Dropping TLS 1.0 and 1.1 from a legacy server and checking which ciphers stay enabled
  • Adding the post-quantum X25519MLKEM768 group to a server that has just been upgraded to OpenSSL 3.5
  • Comparing how the same TLS policy is written for Nginx, Apache and HAProxy during a migration

05Tips

  • On nginx older than 1.25.1, put http2 back on the listen line (listen 443 ssl http2;) and remove the http2 on; directive.
  • On Apache, keep SSLProtocol starting with -all. A list that begins with + only adds to the defaults, which can leave old protocol versions switched on.
  • If the server refuses to start with an unknown group error, your OpenSSL is older than 3.5. Delete X25519MLKEM768 from the curves list.
  • Remove includeSubDomains from the HSTS header if any subdomain still has to work over plain HTTP. Browsers cache the policy for the full max-age.
  • After deploying, test the live endpoint with SSL Labs or testssl.sh to confirm the protocols and suites match what you intended.

06Related concepts

TLS 1.3, Cipher suites, HSTS, OCSP stapling, Mozilla SSL guidelines, Post-quantum key exchange.

Frequently Asked Questions

What is SSL Config Generator?

SSL Config Generator is a free, browser-based developer tool on AIDToolStack. Generate SSL/TLS config for web servers It requires no installation or sign-up and works entirely in your browser.

Is SSL Config Generator free to use?

Yes. No sign-up, no fees and no usage cap.

Does SSL Config Generator store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe