My certificate is expired and now site is showing 526 error


Hello all my letsencrypt certificate expired today. Now my website is losing visitors. I am trying to renew certificate but its showing some errors.
My website is also using cloudflare.

My domain:

My vps provider is: Linode

Also Using Cloudflare CDN.

OS: Ubuntu 14

I ran this command:
./certbot-auto renew

i got this output:

root@localhost:/opt/letsencrypt# ./certbot-auto renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Processing /etc/letsencrypt/renewal/

Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for
http-01 challenge for
Waiting for verification…
Cleaning up challenges
Attempting to renew cert ( from /etc/letsencrypt/renewal/ produced an unexpected error: Failed authorization procedure. (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from "

<html class="no-js " 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. Please Help Me . I am losing visitors.


If you use Cloudflare and Cloudflare is blocking access to your site due to an invalid certificate, you cannot use http-01 authorization.

I would just disable Cloudflare while issuing another certificate.


so what can i do now brother


As @bytecamp said, you can disable Cloudflare while you try to renew. As an alternative, you can just install the free origin cert that Cloudflare gives you.


The first thing you should do is configure cloudflare to use Flexible SSL instead of Full SSL to bring back your site.


ok changed to flexible … now ?


Are you sure it is changed?


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