execute[Request SSL Cert] action run
================================================================================
Error executing action run
on resource ‘execute[Request SSL Cert]’
Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received ‘1’
---- Begin output of certbot certonly -n --agree-tos -m xxxxxx@gmail.com3 --webroot -w /var/www/mydomain.com/ -d mydomain.com ----
STDOUT: IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: mydomain.com
Type: unauthorized
Detail: Invalid response from
http://mydomain.com/.well-known/acme-challenge/le3G6NO9zzzc1zvKqrmavORYD3ZDSqIA3daQHsovTCc:
“\r\n404 Not Found\r\n<body bgcolor=“white”>\r\n
404 Not
Found
\r\n”
To fix these errors, please make sure that your domain name was
ntered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
STDERR: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mydomain.com
Using the webroot path /var/www/mydomain.com for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. mdydomain.com(http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mydomain.com/.well-known/acme-challenge/le3G6NO9zzzc1zvKqrmavORYD3ZDSqIA3daQHsovTCc: “\r\n404 Not Found\r\n<body bgcolor=“white”>\r\n404 Not Found
\r\n
”
---- End output of certbot certonly -n --agree-tos -m XXXX@gmail.com --webroot -w /var/www/mydomain.com/ -d mydomain.com ----