I've got a problem this morning when trying to renew my certificat.
The error problem is :
** Verifying 'cert.pem' against 'chain.pem'
ERROR: Unable to validate certificate chain: cert.pem: CN = mail.ipsla.fr
error 20 at 0 depth lookup:unable to get local issuer certificate
When you opened this thread in the Help section, you should have been provided with a questionnaire. Maybe you didn't get it somehow (which is weird), or you've decided to delete it. In any case, all the answers to this questionnaire are required:
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:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
Every 90 days I renew some certificat. This morning I've got a problem when I try do deploy the service :
zimbra@yozuri:~/ssl/letsencrypt$ /opt/zimbra/bin/zmcertmgr deploycrt comm cert.pem chain.pem
** Verifying 'cert.pem' against '/opt/zimbra/ssl/zimbra/commercial/commercial.key'
Certificate 'cert.pem' and private key '/opt/zimbra/ssl/zimbra/commercial/commercial.key' match.
** Verifying 'cert.pem' against 'chain.pem'
ERROR: Unable to validate certificate chain: cert.pem: CN = mail.ipsla.fr
error 20 at 0 depth lookup:unable to get local issuer certificate
I think your system software is outdated and doesn't recognize either the current Let's Encrypt intermediate certificates or the root certificate. You should start by checking apt packages are all up to date.
You should check that the file chain.pem is recently updated and not something that's being reused as otherwise it could contain old intermediates.