Check SSL Cipher Suites
nmap --script ssl-enum-ciphers to see which protocol versions and cipher suites it accepts. Disable SSLv3, and TLS 1.0 and 1.1, both deprecated in RFC 8996, remove RC4, 3DES, export and NULL ciphers, and keep TLS 1.2 with forward-secret AEAD ciphers plus TLS 1.3.SSL cipher suites: what a suite is
A cipher suite is a bundle of algorithms the client and server agree on: key exchange, authentication, bulk encryption and message integrity. For example, ECDHE-RSA-AES128-GCM-SHA256 uses ECDHE for key exchange, RSA for the certificate, AES-128 in GCM mode for encryption and SHA-256 for integrity. TLS 1.3 simplified this and only allows a small set of strong suites.
Good, acceptable and weak
| Status | Examples |
|---|---|
| Recommended | TLS 1.3: TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256 |
| Good (TLS 1.2) | ECDHE with AES-GCM or ChaCha20-Poly1305 |
| Legacy only if required | CBC-mode suites, RSA key exchange without forward secrecy |
| Disable | RC4, 3DES, DES, export-grade, NULL, anonymous and MD5-based suites |
Forward secrecy, provided by ECDHE and DHE key exchange, means past traffic stays safe even if the server key leaks later. Read more in what is perfect forward secrecy.
SSL cipher suites: how to test
# List protocols and ciphers with nmap
nmap --script ssl-enum-ciphers -p 443 example.com
# Try a specific protocol with OpenSSL
openssl s_client -connect example.com:443 -tls1_1 < /dev/null
A handshake failure on -tls1_1 is the result you want. Also run the SSL checker to confirm the certificate and chain.
Safe configurations
Nginx, based on the commonly used "intermediate" profile:
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
ssl_prefer_server_ciphers off;
Apache:
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305
SSLHonorCipherOrder off
Test the syntax and reload (nginx -t or apachectl configtest). Mozilla's SSL Configuration Generator publishes current recommended profiles, which are worth checking since guidance changes over time.
Compatibility trade-offs
Dropping TLS 1.0 and 1.1 breaks very old browsers, Android versions and embedded devices. For public websites that is usually acceptable and, for many compliance standards, required. If you have a specific legacy client, check your access logs before tightening, rather than guessing.
After you change settings
Re-run the scan, confirm the site still loads in a few browsers, and check your headers with the security headers tool. Behind a CDN or load balancer, the TLS policy is usually set there, not on your origin.
Related reading: Best TLS Configuration for Nginx and Apache, perfect forward secrecy, the SSL security test and the Cloudflare free SSL review.
Frequently Asked Questions
Should I disable TLS 1.2?
No. TLS 1.2 is still widely needed and secure with the right ciphers. Keep it alongside TLS 1.3.
What does the cipher order setting do?
With modern clients and strong ciphers, letting the client choose is fine. Server preference matters mainly when weaker options are enabled.
Is AES-128 weaker than AES-256?
Both are considered strong. AES-128-GCM is fast and fully adequate for web traffic.
Why does my scan still show a weak cipher?
A CDN, load balancer or a second virtual host may use different settings. Check each endpoint.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.