Hello,
A couple of days ago I received the email reminding me of the upcoming expiration of my certificate. In the last 6-8 months, the renewal was carried out automatically. Probably wanting to add a second domain will have corrupted some files.
Currently the certificate still works and is used for a nextcloud server on raspberry pi4 with raspbian and apache2, but it will expire in less than 10 days. I tried to renew it, also adding a second domain (used for access on an RPi 3B with HomeAssistantOS that shares the same public IP with the Pi4), but I keep getting 404 error.
I have tried reading some posts with similar errors, but without success.
My domains is: m9quattro.hopto.org, m9quattro.duckdns.org, m9assistant.hopto.org
I ran these commands: 1) sudo certbot --apache -d m9quattro.hopto.org -d m9quattro.duckdns.org -d m9assistant.hopto.org
- sudo certbot renew --force-renewal
It produced this output:
1)
Domain: m9quattro.duckdns.org
Type: unauthorized
Detail: Invalid response from http://m9quattro.duckdns.org/.well-known/acme-challenge/Iq_47T1Y60ztl1bs1_5s6xAVsjSS6bTXPRVRYghogDc [xx.xx.xx.xx]: 404
Domain: m9quattro.hopto.org
Type: unauthorized
Detail: Invalid response from http://m9quattro.hopto.org/.well-known/acme-challenge/i4CRRhSsZZnU3m7P9Zd2OIpGEpF1K4mxUXeVEu1teMQ [xx.xx.xx.xx]: 404
-
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority
reported these problems:
Domain: m9quattro.hopto.org
Type: unauthorized
Detail: Invalid response from http://m9quattro.hopto.org/.well-known/acme-
challenge/vMyruY4GlNgNN_aTdWxdcj4h2YJUSvLzG3mP9e6hnbU [xx.xx.xx.xx]: 404Hint: The Certificate Authority failed to verify the temporary Apache configuration changes
made by Certbot. Ensure that the listed domains point to this Apache server and that it is
accessible from the internet.Failed to renew certificate m9quattro.hopto.org with error: Some challenges have failed.
All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/m9quattro.hopto.org/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile
/var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): Apache/2.4.38 (Raspbian)
Server built: 2021-09-30T03:50:49
My hosting providers, if applicable, is: Noip and duckdns
I can login to a root shell on my machine (yes or no, or I don't know): Yes
The version of my client is: certbot 1.21.0
Thank's.