Hi all, I have a problem can not solve, when I make the request I always get this error, can you help me?
The folder /.well-known is created but not /acme-challenge and cDP3eS4kM5CHy1LKSi6IIYU-6Xh927TUWFjvdXV0GPM
[root@… ~]# sudo certbot --email info@mysite.com --agree-tos certonly --webroot -w /var/www/vhosts/mysite.com -d www.mysite.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.mysite.com
Using the webroot path /var/www/vhosts/mysite.com for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Unable to clean up challenge directory /var/www/vhosts/mysite.com/.well-known/acme-challenge
Failed authorization procedure. www.mysite.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.mysite.com/.well-known/acme-challenge/cDP3eS4kM5CHy1LKSi6IIYU-6Xh927TUWFjvdXV0GPM: " <!–[if IE 7]><html class=“n”
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.mysite.com
Type: unauthorized
Detail: Invalid response from
http://www.mysite.com/.well-known/acme-challenge/cDP3eS4kM5CHy1LKSi6IIYU-6Xh927TUWFjvdXV0GPM:
" <!–[if IE 7]><html class=“n”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.