Hey,
I’ve been trying all day now and am at a loss. I’ve installed Nextcloud on my Pi and uses LetsEncrypt to get a SSL certificate. Everything worked like a charm for 60 days and still does, but now I need no renew the certificate.
Using the command below produces the error seen below.
As additional information: I’m redirecting all traffic from http to https via apache2 config. Might that be the problem? I’ve tried deactivating the redirect but it doesn’t fix anything.
Thank you very much for you help and bare with me, as I am a beginner.
My domain is: pete90.ddns.net
I ran this command: sudo ./certbot-auto renew
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/pete90.ddns.net.conf
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for pete90.ddns.net
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (pete90.ddns.net) from /etc/letsencrypt/renewal/pete90.ddns.net.conf produced an unexpected error: Failed authorization procedure. pete90.ddns.net (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://pete90.ddns.net/.well-known/acme-challenge/UZbrz1LPaCG8afwxcrfDKi_YG52xyebi8q5jBZiAJuo: Error getting validation data. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/pete90.ddns.net/fullchain.pem (failure)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/pete90.ddns.net/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: pete90.ddns.net
Type: connection
Detail: Fetching
http://pete90.ddns.net/.well-known/acme-challenge/UZbrz1LPaCG8afwxcrfDKi_YG52xyebi8q5jBZiAJuo:
Error getting validation data
My web server is (include version): apache2 (latest Version)
The operating system my web server runs on is (include version): Raspbian/Debian Strech (latest version)
My hosting provider, if applicable, is: RaspberryPi is connected to Router that has a puplic IP4 adress
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no