Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain

I ran this command:certbot certificates

It produced this output:Found the following certs:
Certificate Name:
Expiry Date: 2022-02-03 07:29:31+00:00 (VALID: 69 days)
Certificate Path: /etc/letsencrypt/live/
Private Key Path: /etc/letsencrypt/live/

My web server is (include version):nginx/1.18.0

The operating system my web server runs on is (include version):Ununtu 20.04

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):certbot 0.40.0

This is the relevant part of my nginx config:

    ssl_certificate /etc/letsencrypt/live/;
      ssl_certificate_key /etc/letsencrypt/live/;

      ssl_trusted_certificate /etc/letsencrypt/live/;

When I view the certificate in the browser it says it is for which is possibly the cause of the error but I don't know how to rectify that.

What error?

You have a cert with three names on it; They can't all be first on that list. |

You actually need four names on it.
SSL Server Test: (Powered by Qualys SSL Labs)


Yes I needed four names on the certificate.

Solution was

certbot --nginx --agree-tos --redirect --staple-ocsp -d -d -d -d --email

1 Like

You should review the certs now being maintained by certbot and delete any that are no longer needed nor being used.

certbot certificates

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.