Friday, December 18, 2020

Lets Encrypt renew past the expiration date gives error

Cleaning up challenges

Attempting to renew cert (kingkaotix.com) from /etc/letsencrypt/renewal/kingkaotix.com.conf produced an unexpected

error: Failed authorization procedure. www.kingkaotix.com (http-01): urn:ietf:params:acme:error:unauthorized :: The

client lacks sufficient authorization :: Invalid response from https://www.kingkaotix.com/.well-known/acme-challen

ge/QydpGssCryC803kh7TeCn_PHwaOj1_nVZ1zk-vLM6w4 [2606:4700:3033::681f:4b41]: "\n\n<!--[if IE 7]> <html class="no-js ". Skipping.

All renewal attempts failed. The following certs could not be renewed:

/etc/letsencrypt/live/kingkaotix.com/fullchain.pem (failure)


It gave the error similar to the above. The solution was to do the below and add the TXT record under the domain name 


certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns -d 'relationmonitor.dk,*.relationmonitor.dk'


references:


https://community.letsencrypt.org/t/an-authentication-script-must-be-provided-with-manual-auth-hook/74301/3

No comments:

Post a Comment