Letsencrypt cert not accepted

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. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: trenkler.homeunix.net

I ran this command: certbot certonly --standalone -d trenkler.homeunix.net

It produced this output:
Account registered.
Requesting a certificate for trenkler.homeunix.net

Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/trenkler.homeunix.net/fullchain.pem
Key is saved at: /etc/letsencrypt/live/trenkler.homeunix.net/privkey.pem
This certificate expires on 2022-12-10.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.

My web server is (include version):
mail server with postfix 3.6.4 and dovecot 2.3.16

The operating system my web server runs on is (include version):
Ubuntu Server 22.04.1 LTS

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 have root access.

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 1.30.0, installed via "snap"

openssl verify /etc/letsencrypt/live/trenkler.homeunix.net/fullchain.pem
returns the error message:
error 20 at 0 depth lookup: unable to get local issuer certificate
error /etc/letsencrypt/*/fullchain.pem: verification failed

The best way to verify a cert and its chain are shown below. With your modern system you should not need the optional -CAfile mentioned.

5 Likes

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