I set up a subdomain a few months back to run Pleroma, a social media server. I managed to acquire a certificate using Let’s Encrypt. I don’t recall a problem at the time. I tried once to renew the certificate before it expired and came upon a problem, possibly relating to the certificate for the main domain at marginalie.eu. I must have set up redirects to https once I set up the certificate for the Pleroma virtual server. I am trying to understand the following error and currently suppose that it is due to the fact that certbot cannot access the website through http because of redirects. If this is correct, I presume I will have to reconfigure the sites-enabled file to permit http access before renewing.
If anybody can let me know if this is or is not in the right ball park, I will be grateful. Any additional pointers will be appreciated.
Many thanks
My domain is: ppp.marginalie.eu
[marginalie.eu has a valid certificate on a separate VS.]
I ran this command: certbot renew
It produced this output:
-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/ppp.marginalie.eu.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for ppp.marginalie.eu
Waiting for verification...
Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/ppp.marginalie.eu.conf produced an unexpected error: Failed authorization procedure. ppp.marginalie.eu (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://ppp.marginalie.eu/.well-known/acme-challenge/nJtV-is4wx5pzRFHAT7Oj_SpnepY5N2jN1FflduNcGk: Connection refused. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ppp.marginalie.eu/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: ppp.marginalie.eu
Type: connection
Detail: Fetching
http://ppp.marginalie.eu/.well-known/acme-challenge/nJtV-is4wx5pzRFHAT7Oj_SpnepY5N2jN1FflduNcGk:
Connection refused
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
My web server is (include version): nginx 1.10.3
The operating system my web server runs on is (include version): Debian 9.5 (Stretch)
My hosting provider, if applicable, is: Linode
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