My server is:centos7 apache2.2
I ran this command as root:
#yum install epel-release
#wget https://dl.eff.org/certbot-auto --no-check-certificate
#chmod a+x certbot-auto
#./certbot-auto certonly --webroot -w /var/www/XXXXX.XX.XXXXX.com/html/ -d XXXXX.XX.XXXXX.com
It produced this output:
Failed authorization procedure. XXXXX.XX.XXXXX.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://XXXXX.XX.XXXXX.com/.well-known/acme-challenge/DMMIWg7zvuoKqblI2lnb-QXqf9QDnX0Fr6GzD3go28U [50.19.97.71]: 404
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: XXXXX.XX.XXXXX.com
Type: unauthorized
Detail: Invalid response from
http://XXXXX.XX.XXXXX.com/.well-known/acme-challenge/DMMIWg7zvuoKqblI2lnb-QXqf9QDnX0Fr6GzD3go28U
[XX.XX.XX.XX]: 404To 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.
directory[.well-known] is created, but acme-challenge is not appeared.
i created acme-challenge/xie.txt, and [curl -k https://XXXXX.XX.XXXXX.com/.well-known/acme-challenge/xie.txt] is ok.
so, i think certbot-auto command can not created acme-challenge and a temporary file.
error log is not printed.
who can help me?