I’m trying to enforce TLSv1.2 on my droplet. At the moment I got this in my ssl.conf file:
# grep -i sslprotocol /etc/httpd/conf.d/ssl.conf
SSLProtocol TLSv1.2
SSLProtocol hasn’t been defined anywhere else:
# find /etc/httpd/ -type f -exec grep -il 'sslprotocol' {} +
/etc/httpd/conf.d/ssl.conf__BAK
/etc/httpd/conf.d/ssl.conf
I’ve restarted httpd and have even rebooted the droplet. However, when I scan the droplet from my local machine it’s showing that both TLSv1.0 and TLSv1.1 are supported:
# nmap --script ssl-enum-ciphers -p 443 xxx.xxx.xx.xx | grep TLSv
| TLSv1.0:
| TLSv1.1:
| TLSv1.2:
ssllabs.com also shows that TLSv1.0 is still enabled, so I guess there’s something else I must do to disable it. Is there anyone who has achieved this and is happy to share how to do this?
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!
Hello friend!
When defining the SSLProtocol variable in Apache, it may be beneficial for you to specifically disable the ones you don’t want. You can use +/- to enable/disable a specific protocol. For example, “-SSLv3” should disable SSLv3 where “+SSLv3” should enable it. I generally don’t reference manuals themselves but I actually love the Apache manual, so I’ll toss the reference here:
https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslprotocol
You can also find some strong SSL configuration templates to build on here:
Kind Regards, Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.