I get the following when I try and renew a certificate using
sudo cerbot renew --dry-run
I get the following exception and also apache crashes any help welcome
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/jamalade.duckdns.org.conf
Cert is due for renewal, auto-renewingâŚ
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for jamalade.duckdns.org
No vhost exists with servername or alias of: jamalade.duckdns.org (or itâs in a file with multiple vhosts, which Certbot canât parse yet). No vhost was selected. Please specify ServerName or ServerAlias in the Apache config, or split vhosts into separate files.
Falling back to default vhost *:443âŚ
Waiting for verificationâŚ
Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/jamalade.duckdns.org.conf produced an unexpected error: Failed authorization procedure. jamalade.duckdns.org (tls-sni-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect validation certificate for TLS-SNI-01 challenge. Requested 1c44043bc1893a0c93193cf4a0a63a15.376346324440dcc2883226a472976eb6.acme.invalid from 86.6.118.75:443. Received 2 certificate(s), first certificate had names âjamalade.duckdns.orgâ. Skipping.
** DRY RUN: simulating âcertbot renewâ close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/jamalade.duckdns.org/fullchain.pem (failure)
** DRY RUN: simulating âcertbot renewâ close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: jamalade.duckdns.org
Type: unauthorized
Detail: Incorrect validation certificate for TLS-SNI-01 challenge.
Requested
1c44043bc1893a0c93193cf4a0a63a15.376346324440dcc2883226a472976eb6.acme.invalid
from 86.6.118.75:443. Received 2 certificate(s), first certificate
had names âjamalade.duckdns.orgâ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.
Nicks-MacBook-Pro:~ nickpoaros$ sudo apachectl -k start
Password:
Nicks-MacBook-Pro:~ nickpoaros$ sudo apachectl -k start