Certificates when dupplicating a Virtual Machine Server


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 []: “\n\n404 Not Found\n\n

Not Found



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

Hi @jolypas

looks like you have found a solution.

There is a new Letsencrypt certificate ( https://check-your-website.server-daten.de/?q=woofrun.localiz.io ):

expires in 90 days	woofrun.localiz.io - 1 entry

But you have one error you should fix:

Your DNS:

Host T IP-Address is auth. ∑ Queries ∑ Timeout
woofrun.localiz.io A yes 1 0
AAAA fe80::250:56ff:fe01:9444 yes
www.woofrun.localiz.io Name Error yes 1 0

warning: Private ip address found: fe80:0000:0000:0000:0000:0000:0000:0000 to fe80:ffff:ffff:ffff:ffff:ffff:ffff:ffff: Link-local address

fe80:: is a link-local address, not a public ip address. So remove that entry.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.