Hi,
I have been running letsencrypt for some time and have only just ran into an issue with it not working only with one domain name. It was working fine but then didn’t auto renew.
I am running EE v3.7.4.
I am not using Cloudflare and have a CNAME www.
I have tried --letsencrypt=renew but all I get is
Letsencrypt is currently in beta phase.
Do you wish to enable SSl now for domain.com.au?
Type "y" to continue [n]:y
You already have an existing certificate for the domain requested.
(ref: /etc/letsencrypt/renewal/domain.com.au.conf)
Please select an option from below?
1: Reinstall existing certificate
2: Keep the existing certificate for now
3: Renew & replace the certificate (limit ~5 per 7 days)
Type the appropriate number [1-3] or any other key to cancel: 3
Please Wait while we renew SSL Certificate for your site.
It may take time depending upon network.
Unable to setup, Let's Encrypt
Please make sure that your site is pointed to
same server on which you are running Let's Encrypt Client
to allow it to verify the site automatically.
I backed up my site deleted it and created another blank site e.g.
ee site create mydomain.com.au --php7 --wpfc --letsencrypt
But still got the same error with LE. Checked my DNS and all still looks fine.
I am only running 1 other site on the same server which has a normal (non LE) SSL cert. Though now when I go to the domain in question I am still getting th SSL warning as its using the other domains SSL.
Any ideas?
tail -50 /var/log/ee/ee.log
2017-02-02 10:42:57,898 (DEBUG) ee : Command Output: IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: domain.com.au
Type: unauthorized
Detail: Invalid response from
http://domain.com.au/.well-known/acme-challenge/alDS99GavEzSsdRFitDSxIv69CAttNb4o65pycAe-xg:
"<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"
Domain: www.domain.com.au
Type: unauthorized
Detail: Invalid response from
http://www.domain.com.au/.well-known/acme-challenge/9smAOL0padQP9DtXrGWLLOPh8vCKLzbaeUQhc0WA0Uk:
"<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"
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.
,
Command Error: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for domain.com.au
http-01 challenge for www.domain.com.au
Using the webroot path /var/www/domain.com.au/htdocs for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. domain.com.au (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://domain.com.au/.well-known/acme-challenge/alDS99GavEzSsdRFitDSxIv69CAttNb4o65pycAe-xg: "<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>", www.domain.com.au (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.domain.com.au/.well-known/acme-challenge/9smAOL0padQP9DtXrGWLLOPh8vCKLzbaeUQhc0WA0Uk: "<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"
2017-02-02 10:42:57,899 (ERROR) ee : Unable to setup, Let's Encrypt
2017-02-02 10:42:57,900 (ERROR) ee : Please make sure that your site is pointed to
same server on which you are running Let's Encrypt Client
to allow it to verify the site automatically.