TLSv1.3 not working on Fedora 31 and Nginx 1.16.1

You have a default ssl server block setup in your /etc/nginx/nginx.conf file.

server {
      listen 80 default_server;
    listen 443 ssl default_server;
    server_name _;
    ssl_certificate /etc/letsencrypt/live/comparelion.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/comparelion.com/privkey.pem;
    return 444;
 }

Please either remove that part or add the below line to that server block.
include /etc/letsencrypt/options-ssl-nginx.conf;

Example:

server {
      listen 80 default_server;
    listen 443 ssl default_server;
    server_name _;
    ssl_certificate /etc/letsencrypt/live/comparelion.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/comparelion.com/privkey.pem;
    include /etc/letsencrypt/options-ssl-nginx.conf;
    return 444;
 }

So if your default server block for ssl doesn’t enable TLS1.3, all other server blocks with TLS1.3 will not work. (Not sure what’s the logic behind that though) My guess is it’ll fallback to default settings (for ciphers and protocols in your case).

After the edit, you might still not have TLS1.3 (But TLS1.1/1.0 should be disabled).

Thanks

1 Like