My domain is: china.exed.hec.edu
I ran this command:
sudo /usr/local/bin/certbot-auto certonly --apache --dry-run
and
sudo /usr/local/bin/certbot-auto certonly --dry-run --preferred-challenge http-01 -d china.exed.hec.edu --manual
I tried both auto and manual mode. neither of them passed the challenge.
in --manual mode, I created the file and accessed the token URL in my browser successfully.
but the command still returns “challenge failed”.
It produced this output:
Create a file containing just this data:
k-YNLtpLBSKXmkbyFCSc06UqXmVkuGSLMsorbLsXRnw.dkN2afar41LWUAkbjM5X25ijoT_Ip-gU_wHE8GtLhw4
And make it available on your web server at this URL:
http://china.exed.hec.edu/.well-known/acme-challenge/k-YNLtpLBSKXmkbyFCSc06UqXmVkuGSLMsorbLsXRnw
Press Enter to Continue
Waiting for verification…
Challenge failed for domain china.exed.hec.edu
http-01 challenge for china.exed.hec.edu
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: china.exed.hec.edu
Type: unauthorized
Detail: The key authorization file from the server did not match
this challenge
“k-YNLtpLBSKXmkbyFCSc06UqXmVkuGSLMsorbLsXRnw.dkN2afar41LWUAkbjM5X25ijoT_Ip-gU_wHE8GtLhw4”
!=
“KXmkbyFCSc06UqXmVkuGSLMsorbLsXRnw.dkN2afar41LWUAkbjM5X25ijoT_Ip-gU_wHE8GtLhw4”To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version):
Apache/2.2.15 (Unix)
The operating system my web server runs on is (include version):
centos 6,
2.6.32-754.23.1.el6.x86_64
My hosting provider, if applicable, is:
NA
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
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
certbot 1.3.0