Certbot renewal failure

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:
certbot renew

It produced this output:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/certbot/crypto_util.py”, line 334, in _load_cert_or_req
return load_func(typ, cert_or_req_str)
Error: [(‘PEM routines’, ‘PEM_read_bio’, ‘no start line’)]
An unexpected error occurred:
Error: [(‘PEM routines’, ‘PEM_read_bio’, ‘no start line’)]
Please see the logfiles in /var/log/letsencrypt for more details.

My web server is (include version):

The operating system my web server runs on is (include version):
CentOS 7

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.31.0

Hi @intellixfact

a certificate file must start with


Check your certificates with an editor to see, if this is correct.

There should be no BOM (Byte Order Mark).

Hi Jürgen,

Thank for your feedback. Indeed I checked the certificate file with openssl command and it didn’t found any error. So finally I removed all the files and generated new ones and now everything is working fine.

1 Like

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