Question

How to remove support for TLSv1.1 and TLSv1.2

I am completed stumped on this one. I have tried for months to figure out why SSLabs shows my domain as a B (still supporting these). I have researched and researched and cannot figure it out. There is NOTHING in my nginx folder. There is nothing in the let’s encrypt config. I have also searched Apache and can find nothing. I thought it might be that the server hadn’t been rebooted, but that just went through one and still there.

centos nginx apache let’s encrypt


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
January 31, 2023

Hello @doughboy

Some time ago, I’ve created a similar mini tutorial here in our community about disabling old TLS versions which you can check here:

https://www.digitalocean.com/community/questions/disable-old-tls-versions-1-0-1-1-for-apache-nginx-on-ubuntu-18-04-or-centos-7

Hope that this helps!

KFSys
Site Moderator
Site Moderator badge
January 31, 2023

Hi @doughboy,

To disable your TLSv1.1 and TLSv1.2 protocols, you need to remove them from Nginx. Go to your Droplet:

  1. cd /etc/nginx/

Once in the Nginx folder, you’ll need to remove the protocols from the files that usually have them - /etc/nginx/nginx.conf,/etc/nginx/sites-available/example.com.conf and from time to time in the /etc/letsencrypt/options-ssl-nginx.conf file.

Open them, find the ssl_protocols line and remove both TLSv1.1 and TLSv1.2.

Another way to go about would beto grep for ssl_protocols:

grep -ril 'ssl_protocol' /etc/nginx/*

Every file you get as a result, open it and see if there are ssl_protocls mentioned. Remove TLSv1.1 and TLSv1.2 from them.

Once done, restart Nginx:

service nginx restart

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.