Skip to content

feat(pki): make the internal CA lifetime configurable - #216

Merged
eniac111 merged 1 commit into
masterfrom
feat/ca-lifetime
Nov 11, 2026
Merged

eniac111 merged 1 commit into
masterfrom
feat/ca-lifetime

Conversation

@eniac111

Copy link
Copy Markdown
Member

Add ca.lifetime (BOR_CA_LIFETIME) to set the validity of the auto-generated CA certificate. The value accepts whole years (10y), whole days (3650d) or a Go duration, must be between 2 and 30 years, and defaults to 10y as before.

The lifetime is applied only when the CA certificate is first generated, for both the file-based and the PKCS#11 CA. An existing CA is never re-issued.

Closes #214

Add ca.lifetime (BOR_CA_LIFETIME) to set the validity of the
auto-generated CA certificate. The value accepts whole years (10y),
whole days (3650d) or a Go duration, must be between 2 and 30 years,
and defaults to 10y as before.

The lifetime is applied only when the CA certificate is first
generated, for both the file-based and the PKCS#11 CA. An existing CA
is never re-issued.

Closes #214
@eniac111
eniac111 merged commit fc55d23 into master Nov 11, 2026
35 checks passed
@eniac111
eniac111 deleted the feat/ca-lifetime branch November 11, 2026 21:45
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the lifetime of the auto-generated internal CA configurable

1 participant