Skip to content

Know if lego actually renewed the certificate ? #1493

Answered by ldez
vfauquembergue asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

Your use case is not clear but I will try to answer.

You can use the renew command:
https://go-acme.github.io/lego/usage/cli/examples/#to-renew-the-certificate

And the hook to restart your server only if needed:
https://go-acme.github.io/lego/usage/cli/examples/#to-renew-the-certificate-and-hook

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@vfauquembergue
Comment options

Answer selected by vfauquembergue
Comment options

You must be logged in to vote
1 reply
@ldez
Comment options

ldez Jan 16, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants