Fixing certbot’s “parsefail” error during certificate renewal

Additionally, the following renewal configurations were invalid:
/etc/letsencrypt/renewal/ (parsefail)
Traceback (most recent call last):
File "/opt/certbot/src/certbot/certbot/_internal/", line 64, in _reconstitute
renewal_candidate = storage.RenewableCert(full_path, config)
File "/opt/certbot/src/certbot/certbot/_internal/", line 465, in __init__
File "/opt/certbot/src/certbot/certbot/_internal/", line 532, in _check_symlinks
"expected {0} to be a symlink".format(link))
certbot.errors.CertStorageError: expected /etc/letsencrypt/live/ to be a symlinkRenewal configuration file /etc/letsencrypt/renewal/ is broken. Skipping.
*@*:/etc/letsencrypt/live/ rm cert.pem chain.pem fullchain.pem privkey.pem*@*:/etc/letsencrypt/live/ ln -s /etc/letsencrypt/archive/ cert.pem*@*:/etc/letsencrypt/live/ ln -s /etc/letsencrypt/archive/ chain.pem*@*:/etc/letsencrypt/live/ ln -s /etc/letsencrypt/archive/ fullchain.pem*@*:/etc/letsencrypt/live/ ln -s /etc/letsencrypt/archive/ privkey.pem

Senior front end engineer /

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store