Hello
I have to dupplicate some servers by cloning a VM and creating a new domain name for the new VM.
I modified the MAC, IP and adapted the virtual hosts in apache2/site-available configuration files.
I deleted existing certificates and I tried to create new one for the new domain but it doesnt work.
The option --dry-run returns everything OK but not the actual command
sudo certbot certonly --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: mysql-woofrun.localiz.io
2: woofrun.localiz.io
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): 2
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for woofrun.localiz.io
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. woofrun.localiz.io (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://woofrun.localiz.io/.well-known/acme-challenge/hf30d4s77KgIrK7i4B7f2XozxSB_9aZN-UwfG_I3F7o [195.154.36.90]: “\n\n404 Not Found\n\n
Not Found
\n<p”IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: woofrun.localiz.io
Type: unauthorized
Detail: Invalid response from
http://woofrun.localiz.io/.well-known/acme-challenge/hf30d4s77KgIrK7i4B7f2XozxSB_9aZN-UwfG_I3F7o
[195.154.36.90]: “\n\n404 Not
Found\n\nNot Found
\n<p”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.
I checked A and AAAA records are pointed to woofrun.localiz.io such as for previous server where it is working fine
no I reached the 5 failed tests so I have to wait to test again.
Thanks for support