My domain is:
domain.com
I ran this command:
certbot --apache -d domain.com -d www.domain.com
It produced this output:
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for domain.com
http-01 challenge for www.domain.com
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (domain.com) from /etc/letsencrypt/renewal/domain.com.conf produced an unexpected error: Failed authorization procedure. www.domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.domain.com/.well-known/acme-challenge/TCCzkaTNdDqfg6OEpnrwjCqzleQkqbwyL5IDAJBVe8E: "<iframe src=“http://mcc.godaddy.com”, domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://domain.com/.well-known/acme-challenge/RgDOCm_tz_dThTkKLHnw-B75vX0pbDEb_FfJ-IgEDfk: "<iframe src=“http://mcc.godaddy.com”. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/domain.com/fullchain.pem (failure)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/domain.com/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
My web server is (include version):
Apache 2.4.18
The operating system my web server runs on is (include version):
Ubuntu 16.04
My hosting provider, if applicable, is:
digitalocean
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no
I registered a certificate a few months ago.
Today, my domain certificate expired. I tried to renew it and I couldn’t. The problem was that the website is behind Cloudflare and for whatever reason, no method of renew worked.
The commands I entered:
certbot --apache -d domain.com -d www.domain.com
certbot --apache -d domain.com -d www.domain.com --preferred-challenges http
certbot --apache -d domain.com -d www.domain.com --preferred-challenges dns
certbot --apache renew
certbot renew --preferred-challenges http
certbot renew --preferred-challenges http-01
After a few tries, I got banned and not a single command completed succesfully. This a serious bug as my website is down.