Skip to content

Possible to set default max lifetime for TLS cert with autocert #425

Answered by maraino
maxliu007 asked this question in Q&A
Discussion options

You must be logged in to vote

Right place to talk about autocert as well?

Yes, we've decided to centralize all discussions here so it's easy to find them.

The solution is to configure "claims" inside the "authority" or the "provisioner" object in the ca.json, that is stored in a configmap, something like:

"claims": {
    "maxTLSCertDuration": "2160h",
    "defaultTLSCertDuration": "24h",
}

You can see some examples in https://smallstep.com/docs/step-ca/configuration

To give you more detailed instructions I need to know how are you installing autocert.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@maxliu007
Comment options

@maraino
Comment options

@maxliu007
Comment options

Answer selected by maxliu007
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