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

Finer Expiry Control #82

Open
Goirad opened this issue Sep 5, 2019 · 2 comments
Open

Finer Expiry Control #82

Goirad opened this issue Sep 5, 2019 · 2 comments

Comments

@Goirad
Copy link

Goirad commented Sep 5, 2019

Hello,
I find that I often need to create expired certificates for testing related validation and it would be extremely helpful if the --expires option was extended to allow passing minutes and even seconds.

@mbyczkowski
Copy link
Contributor

I think it'd probably be fine to have a flag that takes expiry in simple duration format 1d10h2m5s

@Goirad
Copy link
Author

Goirad commented Sep 5, 2019

Or even better would be the ability to offset the start date backwards in time by a similar mechanism
ie --offset -1y --expires 1m to create a certificate valid starting a year ago for a period of 1 month

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

2 participants