Tried to Renew Cert

Website is displaying:

Error 526

Invalid SSL certificate

The SSL certificate presented by the server did not pass validation. This could indicate an expired SSL certificate or a certificate that does not include the requested domain name.

My domain is: kingkaotix.com

I ran this command: sudo certbot renew

It produced this output:

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)


All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/kingkaotix.com/fullchain.pem (failure)


1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:

Hi @charveyjr

please read your output:

You use Cloudflare, so you have a redirect http -> https. But your certificate is already invalid, so Cloudflare can't connect your domain -> Letsencrypt can't validate your domain.

So

  • remove Cloudflare and create a certificate
  • use the Cloudflare-integrated certificate solution
1 Like

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