I am getting this error in my Nginx Ubuntu 16.04
command:- sudo letsencrypt renew
Processing /etc/letsencrypt/renewal/mydomain.in.conf
2017-03-01 11:58:14,035:WARNING:letsencrypt.cli:Attempting to renew cert from /e tc/letsencrypt/renewal/mydomain.in.conf produced an unexpected error: Fai led authorization procedure. www.mydomain.in (http-01): urn:acme:error:un authorized :: The client lacks sufficient authorization :: Invalid response from http://www.mydomain.in/.well-known/acme-challenge/vyPW6njqHrF0pvBlv9gWEg yatCDveBbmJFG-lqAIIIA:. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/mydomain.in/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.mydomain.in.in
Type: unauthorized
Detail: Invalid response from http://www.mydomain.in.in/.well-
known/acme-challenge/vyPW6njqHrF0pvBlv9gWEgyatCDveBbmJFG-lqAIIIA: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.