cert from vault has only around 1 month expire date
Bug #1841138 reported by
Seyeong Kim
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vault-charm |
Fix Released
|
Medium
|
Seyeong Kim |
Bug Description
cert from vault has only around 1 month expire date
reproduction steps
1. k8s deployment with vault
2. you can see expire date is only around 1 month with below command
echo | openssl s_client -connect KUBEAPIIP:443 -servername KUBEAPIIP 2>/dev/null | openssl x509 -noout -text
After changing an action configuration, and lib/charm/
it works properly with 10years
Changed in vault-charm: | |
status: | New → Confirmed |
milestone: | none → 19.10 |
importance: | Undecided → Medium |
Changed in vault-charm: | |
assignee: | nobody → Seyeong Kim (xtrusia) |
Changed in vault-charm: | |
milestone: | 19.10 → 20.01 |
Changed in vault-charm: | |
status: | Confirmed → In Progress |
Changed in vault-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
As a w/a, you could use:
vault secrets tune -max-lease- ttl=8760h -default- lease-ttl= 8760h charm-pki-local
Then, Vault will start issuing certificates with expiration date = 1 year. However, it would be nice to have this configurable as a charm config option.