Commit c445ec1
fix(cert-manager): Ensure there is at least one leaf certificate renewal when renewing the CA (#712)
* fix(cert-manager): Ensure there is at least one leaf certificate renewal when renewing the CA
The renewBefore value for the root ca was simply too low barely giving the leaf certificate any time
to renew itself. This leads to the root ca expiring before the leaf certificates expires.
By removing the renewBefore values we go back to the 2/3 default and as long as the leaf certificate
is only valid for half of the root it should be fine.
Signed-off-by: Miguel Sacristán Izcue <[email protected]>
* set default `renewBefore` for CA to one third of duration
Signed-off-by: Jan Wozniak <[email protected]>
---------
Signed-off-by: Miguel Sacristán Izcue <[email protected]>
Signed-off-by: Jan Wozniak <[email protected]>
Co-authored-by: Jan Wozniak <[email protected]>1 parent 3ad2830 commit c445ec1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments