I have a site that uses letsencrypt certificates and this morning I started getting certificate verify failed (unable to get local issuer certificate) errors when making calls to it from an Ubuntu 18.04 server. There doesn't appear to be anything wrong with the certificate, as I'm not having problems with other devices connecting, and the Ubuntu 18.04 server is now having problems connecting to multiple letsencrypt secured sites, including letsencrypt.org. I feel like this has something to do with the upcoming root certificate expiration, but I'm not getting anywhere with my troubleshooting. Things were working as recently as Thursday, but as of this morning they are not.
For example, I went to download the SRG Root X1 PEM file from letsencrypt.org thinking maybe I don't have the right certificates or something, but with wget it fails, not being able to verify.
ERROR: cannot verify letsencrypt.org's certificate, issued by ‘CN=R3,O=Let's Encrypt,C=US’:
Unable to locally verify the issuer's authority.
My server time is correct, and I have no available server updates. I appreciate any ideas. Thanks!
ERROR: cannot verify letsencrypt.org's certificate, issued by ‘CN=R3,O=Let's Encrypt,C=US’:
Unable to locally verify the issuer's authority.
To connect to letsencrypt.org insecurely, use `--no-check-certificate'.
apt install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20210119~18.04.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.