hashicorp / hashicorp/consul

connect/ca: Make the expiry duration for old CA roots explicitly configurable

Open
#9,655 0 comments 1 reaction 0 assignees View on GitHub
theme/certificates theme/reliability type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

At the moment, the leader will periodically prune old CA roots that have been rotated out once they've been inactive for the configured `LeafCertTTL`*2. We should make this explicitly configurable, and possibly add an api for forcing this immediately - the default LeafCertTTL is 72h, so this will typically be days before an old CA is rotated out, which could be far too long if an old root is compromised.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.