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

Expiration time per certificate configuration #87

Open
patoliyam opened this issue Sep 11, 2019 · 2 comments
Open

Expiration time per certificate configuration #87

patoliyam opened this issue Sep 11, 2019 · 2 comments

Comments

@patoliyam
Copy link

By default, cashier allows setting the same expiration time for every certificate. Shouldn't it have option to have separate expiration time for each of the certificate? It has several use-cases.

@nsheridan
Copy link
Owner

The server config has a [max_age](https://github.com/nsheridan/cashier/blob/master/example-server.conf#L38) setting. Clients can request any expiration time up to this value (but no greater - if clients request a value greater than max_age the returned certificate will have a lifetime of max_age).

On the client side you just need to set validity to the desired value in the client configuration or use the -validity flag.

Does this not do what you want?

@patoliyam
Copy link
Author

patoliyam commented Sep 12, 2019

I want to have different max_age for the different set of users on the server. Is there any way to do the same?

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