For some reason I can't renew a certificat with certbot.
I think I can't contact de ACME api.
My domain is: zoulette.ovh
I ran this command: certbot --dns-ovh --dns-ovh-credentials ~/.ovhapi -d zoulette.ovh -d *.zoulette.ovh
It produced this output: :
During handling of the above exception, another exception occurred:
requests.exceptions.SSLError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))
Please see the logfiles in /var/log/letsencrypt for more details.
Indeed the version is a bit old ^^ I switched to a new one with docker (certbot/dns-ovh/).
I ran this command:
certbot certonly --dns-ovh --dns-ovh-credentials ~/.ovhapi -d zoulette.ovh -d *.zoulette.ovh
I got this error:
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5fd2adb640>: Failed to establish a new connection: [Errno -3] Try again'))
An unexpected error occurred:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5fd2adb640>: Failed to establish a new connection: [Errno -3] Try again'))
Yes, it looks like the site's IP address (which is probably where Certbot was running) had been blocked as a DDoS mitigation. It's now unblocked. Sorry about the trouble!