|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * microshift/microshift-things-to-know.adoc |
| 4 | + |
| 5 | +:_content-type: CONCEPT |
| 6 | +[id="microshift-certificate-lifetime_{context}"] |
| 7 | += Security certificate lifetime |
| 8 | +{product-title} certificates are separated into two basic groups: |
| 9 | + |
| 10 | +. Short-lived certificates having certificate validity of one year. |
| 11 | +. Long-lived certificates having certificate validity of 10 years. |
| 12 | + |
| 13 | +Most server or leaf certificates are short-lived. |
| 14 | + |
| 15 | +An example of a long-lived certificate is the client certificate for `system:admin user` authentication, or the certificate of the signer of the `kube-apiserver` external serving certificate. |
| 16 | + |
| 17 | +[id="microshift-certificate-rotation_{context}"] |
| 18 | +== Certificate rotation |
| 19 | +As certificates age, {product-title} can be restarted to rotate certificates. A certificate that is close to expiring might also automatically cause a restart. Read the following situation overviews to understand the actions at each moment in time: |
| 20 | + |
| 21 | +. Green zone: |
| 22 | +.. When a short-term certificate is 5 months old, no rotation occurs. |
| 23 | +.. When a long-term certificate is 8.5 years old, no rotation occurs. |
| 24 | + |
| 25 | +. Yellow zone: |
| 26 | +.. When a short-term certificate is 8 months old, it is rotated when {product-title} starts or restarts. |
| 27 | +.. When a long-term certificate is 9 years old, it is rotated when {product-title} starts or restarts. |
| 28 | + |
| 29 | +. Red zone |
| 30 | +.. When a short-term certificate is 8 months old, {product-title} restarts to rotate and apply a new certificate. |
| 31 | +.. When a long-term certificate is 9 years old, {product-title} restarts to rotate and apply a new certificate. |
| 32 | + |
| 33 | +[NOTE] |
| 34 | +==== |
| 35 | +If the rotated certificate is a Certificate Authority, all of the certificates it signed rotate. |
| 36 | +==== |
| 37 | + |
| 38 | +.Stoplight timeline of {product-title} certificate validity. |
| 39 | +image::microshift-cert-rotation.png[<{product-title} graph with symbolic green-yellow-red stoplight map of certificates>] |
0 commit comments