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: 1 comment 1 reply

Comment options

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

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