DanBennett
Verified User
- Joined
- Aug 10, 2016
- Messages
- 7
So when creating a LetsEncrypt certificate, I specifically untick www.sub.domain.com from "Let's Encrypt Certificate Entries" (it's auto ticked along side sub.domain.com) and remove the www. from the common name (because we're using sub.domain.com. No www here!). This is a legit subdomain and certificates can be installed for subdomains...
But DA (Or LetsEncrypt, not sure who to blame yet) automatically still tries to verify www.sub.domain.com and complains about it not being accessible, which is right - it's not meant to be! I didn't ask for that!
Which stops the certificate being generated!
Any thoughts on how to stop this happening?
But DA (Or LetsEncrypt, not sure who to blame yet) automatically still tries to verify www.sub.domain.com and complains about it not being accessible, which is right - it's not meant to be! I didn't ask for that!
Code:
Getting challenge for sub.domain.com from acme-server...
Waiting for domain verification...
Challenge is valid.
Getting challenge for www.sub.domain.com from acme-server...
Error: http://www.sub.domain.com/.well-known/acme-challenge/letsencrypt_1470842013 is not reachable. Aborting the script.
Please make sure .htaccess or WWW server is not preventing access to /.well-known folder.
Which stops the certificate being generated!
Any thoughts on how to stop this happening?