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

Check if certificates needs renewal before create client #1546

Closed
1 task done
oott123 opened this issue Dec 17, 2021 · 0 comments · Fixed by #2372
Closed
1 task done

Check if certificates needs renewal before create client #1546

oott123 opened this issue Dec 17, 2021 · 0 comments · Fixed by #2372

Comments

@oott123
Copy link

oott123 commented Dec 17, 2021

Welcome

  • Yes, I've searched similar issues on GitHub and didn't find any.

How do you use lego?

Binary

Detailed Description

lego will create a client and log in first, and then check if there are certificates to renew.

If there aren't any certificates renewal required, then no network requests required, so the created client can lead to unnecessary requests, which is not friendly to both users and ACME servers.

If we can check certificates expiry date before any network requests made, we can reduce the resources used by lego.

@ldez ldez changed the title Feature Request: Check if certificates needs renewal before create client Check if certificates needs renewal before create client Jan 18, 2022
@ldez ldez added the area/cli label Dec 2, 2024
@ldez ldez closed this as completed in #2372 Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants