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

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.

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:

Hope that this helps!

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/ 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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.