Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https cert not renewed #136

Closed
sverhoeven opened this issue Jan 23, 2023 · 1 comment
Closed

https cert not renewed #136

sverhoeven opened this issue Jan 23, 2023 · 1 comment

Comments

@sverhoeven
Copy link
Member

sverhoeven commented Jan 23, 2023

On one of the Virtual Machines the https cert was no longer being renewed.

`journalctl -u certbot` logs
Jan 22 19:39:24 host-192-168-0-170 systemd[1]: Starting Certbot...
Jan 22 19:39:24 host-192-168-0-170 certbot[1490357]: Attempting to renew cert (demo2.ewatercycle-nle.src.surf-hosted.nl) from /etc/letsencrypt/renewal/demo2.ewatercycle-nle.src.surf-hosted.nl.conf p>
Jan 22 19:39:24 host-192-168-0-170 certbot[1490357]: All renewal attempts failed. The following certs could not be renewed:
Jan 22 19:39:24 host-192-168-0-170 certbot[1490357]:   /etc/letsencrypt/live/demo2.ewatercycle-nle.src.surf-hosted.nl/fullchain.pem (failure)
Jan 22 19:39:24 host-192-168-0-170 certbot[1490357]: 1 renew failure(s), 0 parse failure(s)
Jan 22 19:39:24 host-192-168-0-170 systemd[1]: certbot.service: Main process exited, code=exited, status=1/FAILURE
Jan 22 19:39:24 host-192-168-0-170 systemd[1]: certbot.service: Failed with result 'exit-code'.
Jan 22 19:39:24 host-192-168-0-170 systemd[1]: Failed to start Certbot.
Certbot renew output
usr/bin/certbot -q renew
Attempting to renew cert (demo2.ewatercycle-nle.src.surf-hosted.nl) from /etc/letsencrypt/renewal/demo2.ewatercycle-nle.src.surf-hosted.nl.conf produced an unexpected error: module 'lib' has no attribute 'X509_get_notAfter'. Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/demo2.ewatercycle-nle.src.surf-hosted.nl/fullchain.pem (failure)
@sverhoeven
Copy link
Member Author

Somehow a certbot dependency has wrong version.

Corrected by installing certbot with snap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant