Certificate failure Letsencrypt issues

Hello,
I get sertificate error when connecting to my hass.io
DLG_FLAGS_SEC_CERT_DATE_INVALID
DLG_FLAGS_SEC_CERT_CN_INVALID
The certficate seems to have expired but I dont know how to renew it.

Letsencrypt prints this after that I try to start it!


Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /data/letsencrypt/renewal/myname.dnscomm.com.conf


Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/certbot/renewal.py”, line 64, in _reconstitute
renewal_candidate = storage.RenewableCert(full_path, config)
File “/usr/local/lib/python3.7/site-packages/certbot/storage.py”, line 466, in init
self._check_symlinks()
File “/usr/local/lib/python3.7/site-packages/certbot/storage.py”, line 524, in _check_symlinks
“expected {0} to be a symlink”.format(link))
certbot.errors.CertStorageError: expected /data/letsencrypt/live/myname.dnscomm.com/cert.pem to be a symlink
Renewal configuration file /data/letsencrypt/renewal/myname.dnscomm.com.conf is broken. Skipping.


No renewals were attempted.

Additionally, the following renewal configurations were invalid:
/data/letsencrypt/renewal/myname.dnscomm.com.conf (parsefail)


0 renew failure(s), 1 parse failure(s)


Any input would be highly appreciated!!!

Fixed by re-installing Let’s Encrypt…

1 Like

thanks for posting your solution. saved me a lot of time.

To be honest, I’m executing this add-on once every three months, and every time I’m running it there is something wrong and I need to uninstall it and install it again!