Could not authenticate the selected mirror.
Fetching change log information, please wait... Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X34033068160632:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:fetch: https://pkg.opnsense.org/FreeBSD:11:amd64/19.7/sets/changelog.txz.sig: Authentication error
root@OPNsense:~ # fetch https://example.comCertificate verification failed for /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert Global Root CA3276227729016:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:fetch: https://example.com: Authentication errorroot@OPNsense:~ # curl https://example.comcurl: (77) error setting certificate verify locations: CAfile: /usr/local/etc/ssl/cert.pem CApath: none
root@OPNsense:~ # ls -lah /usr/local/etc/ssl/total 852drwxr-xr-x 2 root wheel 512B Aug 2 03:14 .drwxr-xr-x 32 root wheel 4.0K Aug 2 01:49 ..-rw-r--r-- 1 root wheel 798K Aug 2 04:18 cert.pemlrwxr-xr-x 1 root wheel 38B Jul 24 00:51 cert.pem.sample -> /usr/local/share/certs/ca-root-nss.crt-rw-r--r-- 1 root wheel 9.3K Jul 24 09:52 opnsense.cnfroot@OPNsense:~ # ls -lah /usr/local/share/certs/total 840drwxr-xr-x 2 root wheel 512B Aug 2 03:14 .drwxr-xr-x 29 root wheel 512B Aug 2 01:49 ..-rw-r--r-- 1 root wheel 793K Jul 24 00:51 ca-root-nss.crt
cp /usr/local/etc/ssl/cert.pem.sample /usr/local/etc/ssl/cert.pem
Are the valid dates and the subjects different?
What are the differences between the certificates?