In the past, I have successfully renewed by Apache web plugin method. However, this time I get the following:
How would you like to authenticate with the ACME CA?
1: Apache Web Server plugin - Beta (apache)
2: Spin up a temporary webserver (standalone)
3: Place files in webroot directory (webroot)
Select the appropriate number [1-3] then [enter] (press ‘c’ to cancel): 1
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c’
to cancel):www.mydomain.com
Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for www.mydomain.com
Error while running apachectl graceful.
httpd not running, trying to start
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Cleaning up challenges
Error while running apachectl graceful.
httpd not running, trying to start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Encountered exception during recovery
Error while running apachectl graceful.
httpd not running, trying to start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Traceback (most recent call last):
File “/home/ec2-user/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot/error_handler.py”, line 99, in _call_registered
self.funcs-1
File “/home/ec2-user/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot/auth_handler.py”, line 284, in _cleanup_challenges
self.auth.cleanup(achalls)
File “/home/ec2-user/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot_apache/configurator.py”, line 1908, in cleanup
self.restart()
File “/home/ec2-user/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot_apache/configurator.py”, line 1797, in restart
self._reload()
File “/home/ec2-user/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot_apache/configurator.py”, line 1808, in _reload
raise errors.MisconfigurationError(str(err))
MisconfigurationError: Error while running apachectl graceful.
httpd not running, trying to start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Error while running apachectl graceful.
httpd not running, trying to start
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Also, I tried using the webroot method, but I get the following:
Failed authorization procedure. www.mydomain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.mydomain.com/.well-known/acme-challenge/V604uEaQKSgHe_kUV70XApD07jhXs5cKISrzgsDVFQM: "
404 Not FoundNot Found
<p"IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.mydomain.com
404 Not Found
Type: unauthorized
Detail: Invalid response from
http://www.mydomain.com/.well-known/acme-challenge/V604uEaQKSgHe_kUV70XApD07jhXs5cKISrzgsDVFQM:
"Not Found
<p"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.
And because I have failed to get this to work too many times, now I’m getting “There were too many requests of a given type :: Error creating new authz :: Too many invalid authorizations recently.”
Please help me. I only have 5 days left to renew.