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

Certificate expiry clarity #119

Closed
hegdesandesh25 opened this issue May 28, 2021 · 1 comment
Closed

Certificate expiry clarity #119

hegdesandesh25 opened this issue May 28, 2021 · 1 comment

Comments

@hegdesandesh25
Copy link

This is more of a clarification than an issue, Is there a way to pass the custom expiry to the module, the expiry defaults to a year currently.

openssl x509 -enddate -noout -in test.crt
notAfter=May 23 06:26:00 2022 GM

Commend the Incredible work to simplify cert generation!!

@mcpherrinm
Copy link
Contributor

Yes, there is a command line flag to the sign operation:

Name: "expires"
Usage: "How long until the certificate expires (example: 1 year 2 days 3 months 4 hours)",

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