TLS v 1.3 Not working on Nginx

I have Ubuntu 18.04, Nginx version 1.17.6, OpenSSL version 1.1.1 . - I believe those satisfy requirements for TLS 1.3.

In my /etc/nginx/nginx.conf file I added TLSv1.3 like so:

ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; 

I have not changed anything in **/etc/nginx/sites-available/ **.

When I test my site in SSL Labs and elsewhere, TLSv1.3 is not working.

I checked nginx -V, and --with-openSSL argument is not listed. Not sure if I have to rebuild my nginx with that flag.

Any pointers would be appreciated

Show comments

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.

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.

Hello, @geochanto

May I ask if you’ve also updated the SSL ciphers as well? You should be able to enable TLS 1.3 using the following steps:

Open your Nginx server block file in /etc/nginx/conf.d/ directory or /etc/nginx/sites-enabled/ directory. Find the following line.

ssl_protocols  TLSv1.2;

Add TLSv1.3 to the list of protocols.

ssl_protocols TLSv1.2 TLSv1.3;

Then add the following 3 cipher suites to your existing cipher suites.


like so:


Save and close the file. Then test Nginx configuration and reload.

sudo nginx -t
sudo systemctl reload nginx

Hope this helps!

Regards, Alex