Hello everyone.
I was setting up certificates for several domains and all went fine when Certbot suddenly started to throw this weird error:
An unexpected error occurred:
requests.exceptions.SSLError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))
acme-v02.api.letsencrypt.org redirects to proteus.info.at which is... a Parallels login portal?
ping acme-v02.api.letsencrypt.org
PING acme-v02.api.letsencrypt.org.eu (78.46.90.98) 56(84) bytes of data.
64 bytes from proteus.info.at (78.46.90.98): icmp_seq=1 ttl=52 time=16.9 ms
Then I ran curl:
curl -v https://acme-v02.api.letsencrypt.org/directory
Trying 78.46.90.98...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55cdc9c2ab70)
* Connected to acme-v02.api.letsencrypt.org (78.46.90.98) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
And here I am
Everything is working fine on another server I own (I successfully issued certificates) and of course the ping result is different:
ca80a1adb12a4fbdac5ffcbc944e9a61.pacloudflare.com
I wonder if the problem could be on my side and, if not, if there's any way to tell certbot to use a given ACME server?
I'm running certbot 1.13.0 on Debian 10.
Thanks!