I’m trying to add a new hostname to my server.
At this moment, I have two host name, both certified with certbot-letsencrypt:
I want to add the new hostname:
Please, can you tell me exctly what is the line command I have to enter for doing that?
I entered the command:
certbot --authenticator webroot --installer apache -w /var/www/html-123 -d new-plat123.ddns.net
and the result was:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for new-plat123.ddns.net
Using the webroot path /var/www/html-123 for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. new-plat123.ddns.net (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://new-plat123.ddns.net/.well-known/acme-challenge/GRcinsnJJW3BlVnfnLOWjO7sfjJ8dljyEagj7KAaddc: “\n\n404 Not Found\n\n
The following errors were reported by the server:
Detail: Invalid response from
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.