My domain is: china.exed.hec.edu
I ran this command:
sudo /usr/local/bin/certbot-auto certonly --apache --dry-run
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:
And make it available on your web server at this URL:
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.
The following errors were reported by the server:
Detail: The key authorization file from the server did not match
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):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot):