All Tools View Categories About Contact Privacy

SSL Cipher Suite Recommender

Pick a security preset and get a validated cipher suite and protocol list.

Runs entirely in your browser - nothing is uploaded and no cloud connection is made.
Cipher recommendation will appear here.
-
results

About SSL Cipher Suite Recommender

Choosing a cipher suite is one of the highest-leverage TLS decisions, yet hand-written cipher strings quietly re-enable weak suites or break compatibility with real clients. The SSL Cipher Suite Recommender picks from three battle-tested Mozilla presets - Modern, Intermediate and Old - and returns a copy-ready ssl_protocols and ssl_ciphers pair plus the rationale for each. Everything is computed locally in your browser, so nothing is uploaded and you can harden a server block in seconds.

At the heart of the configuration are a handful of directives. ssl_protocols limits negotiated TLS versions and must never include SSLv2 or SSLv3. ssl_ciphers selects the actual encryption suites offered during the handshake. ssl_prefer_server_ciphers decides whether the server or client priority order wins the suite choice. ssl_certificate presents the public certificate chain during the TLS handshake. ssl_session_cache caches session keys to speed up repeated handshakes. ssl_stapling attaches a signed OCSP response so clients skip contacting the CA. ssl_ecdh_curve sets the named curve used for ephemeral key exchange. ssl_dhparam points at the Diffie-Hellman parameters used by DHE suites. Together they shape how the server behaves, and the tool assembles them in the right context so the result is valid on the first try.

Common mistakes are easy to make. Enabling TLS 1.0/1.1 (the Old preset) re-introduces known weaknesses, so only do it when legacy clients demand it. A cipher string that lists weak suites first can let a client negotiate them despite stronger options. Forgetting ssl_prefer_server_ciphers leaves suite selection to the client, weakening your policy. Pasting a Modern-only suite in front of old Android clients will fail their handshakes outright. The generator anticipates each of these and either sets a safe default or rejects the input with a clear message before anything is written to your clipboard.

Validation is strict because small configuration errors fail in subtle ways. Every input is checked for plausibility, and after the block is assembled it is re-parsed by a built-in tokenizer so unbalanced braces, missing semicolons or stray characters cannot reach your clipboard. Stat cards report line and block counts, and copy, download and print exports are one click away. Everything runs in your browser; nothing you type is transmitted to any server.

In practice this block drops into any standard nginx install. Save the output as a file under /etc/nginx/conf.d/ (or sites-available with a symlink), run nginx -t to confirm the syntax, then reload with nginx -s reload. Because the generator emits a single, self-contained server block with no hidden dependencies, it composes cleanly with your existing caching, logging and security configuration without directive collisions.

Beyond producing correct config, the tool is a reference you can read back and learn from. Each control maps to a real nginx directive, the sample button shows a complete working block in seconds, and clearing the form resets every field to its safe default. Standardising on a generator like this removes per-developer variation, keeps your configuration readable, and gives you a repeatable, auditable setup that passes nginx -t on the first try.

When something looks wrong in production, the first move is always to re-run nginx -t and inspect /var/log/nginx/error.log; most failures surface there with a line number. The access log records every request, so a sudden spike or a wall of 499 responses points straight at backend or timeout problems the generator helps you avoid in the first place.

This server block is designed to sit alongside - not fight - your other configuration. Because it declares its own server_name and a single, self-contained set of directives, you can drop it into conf.d without worrying about collisions with global caching, logging or security snippets that live elsewhere in the nginx tree.

For a production site, pair this block with TLS termination: serve on 80 for the redirect or health checks, and place the encrypted listener (or a front-end load balancer / CDN) in front so clients always speak HTTPS. The generator keeps that boundary clean so the two layers compose instead of overlapping.

If a change ever needs to be undone, the output is plain text you control: delete the file from conf.d, re-run nginx -t, and reload. There is no database and no hidden state, so rolling back is as simple as restoring the previous version from version control or your own backup.

Performance and correctness both benefit from explicit configuration. Defaults baked into the generator reflect current best practice rather than decades-old forum snippets, so the block you ship today will not surprise you with deprecated directives or insecure fallbacks six months from now.

For teams, a generated block is also documentation. New engineers can read the exact directives in place, compare them against the sample, and learn the relevant nginx behaviour without reverse-engineering a hand-maintained file that drifted from its original intent.

Features

  • ssl_protocols - limits negotiated TLS versions and must never include SSLv2 or SSLv3.
  • ssl_ciphers - selects the actual encryption suites offered during the handshake.
  • ssl_prefer_server_ciphers - decides whether the server or client priority order wins the suite choice.
  • ssl_certificate - presents the public certificate chain during the TLS handshake.
  • ssl_session_cache - caches session keys to speed up repeated handshakes.
  • ssl_stapling - attaches a signed OCSP response so clients skip contacting the CA.
  • ssl_ecdh_curve - sets the named curve used for ephemeral key exchange.
  • ssl_dhparam - points at the Diffie-Hellman parameters used by DHE suites.
  • Self-verifying output re-parsed before display.
  • Copy, Download and Print exports.
  • Load-sample button fills realistic values.
  • Statistics cards for quick checks.
  • Runs entirely in your browser - nothing uploaded.

How to Use

  1. Choose a security preset from the dropdown: Modern, Intermediate or Old.
  2. Click Recommend (or Load sample to prefill Modern).
  3. Read the protocols, cipher suite, and the prefer-server-ciphers setting.
  4. Review the recommendation note explaining the trade-off.
  5. Copy the cipher suite into your ssl_ciphers directive and the protocols into ssl_protocols.
  6. Run nginx -t to confirm the block is valid.
  7. Download or Download JSON to keep the recommendation for your records.

Examples

Example 1 - Modern preset recommends TLS 1.2/1.3 with AEAD-only suites for current clients.

Example 2 - Intermediate preset adds DHE fallback suites for broader compatibility with older devices.

Example 3 - Old preset enables TLS 1.0/1.1 and 3DES for ancient clients, not recommended generally.

Example 4 - Empty selection submitting no preset returns a clear error asking for a choice.

Example 5 - Unknown preset typing a made-up preset returns an error indicating no match was found.

Benefits

  • Mozilla-aligned presets instead of copy-pasted cipher strings.
  • Clear protocol list that can never secretly include SSLv3.
  • Explains the trade-off of each strength level.
  • Copy-ready output that drops straight into a server block.
  • One-click JSON and text export for audits.
  • Private: the presets are embedded, nothing uploaded.

Frequently Asked Questions

What preset should I use?
Use Modern for current clients only, Intermediate for most public sites, and Old only when legacy clients must be supported.
What is the difference between Modern and Intermediate?
Modern drops DHE and older suites for maximum strength; Intermediate keeps DHE fallback for broader compatibility.
Why does Old enable TLS 1.0 and 1.1?
Old is for ancient clients that cannot negotiate newer protocols; it is not recommended for new deployments.
What does prefer server ciphers do?
When on, the server chooses the cipher from its list; Modern and Intermediate leave it off so the client may pick.
Where do I paste the output?
Put ssl_protocols and ssl_ciphers inside the server or http block, then run nginx -t.
Are these Mozilla presets?
Yes - the lists follow the Mozilla TLS configuration recommendations for each strength level.
Is the data uploaded?
No. The presets are embedded and all recommendations run locally in your browser.
Can I export the result?
Yes. Download JSON for structured data or Download for the plain-text recommendation.