Machine Config Operator certificates reference
Use this reference to locate Machine Config Operator (MCO) certificate key material, rotation requirements, and support boundaries, so you can plan for certificate maintenance and for scheduling rotation before certificates expire.
Key material inside a cluster
The following objects are stored in the openshift-machine-config-operator namespace:
-
The Machine Config Server (MCS) certificate authority (CA) bundle is stored as the
machine-config-server-caconfig map. The MCS CA bundle stores all valid CAs for theMachineConfigServerTLS certificate. -
The MCS CA signing key is stored as the
machine-config-server-casecret. The MCS CA signing key is used to sign theMachineConfigServerTLS certificate. -
The MCS certificate is stored as the
machine-config-server-tlssecret, which contains theMachineConfigServerTLS certificate and key.
The machine-config-server-ca config map is used in the following ways:
-
The certificate controller updates the
*-user-datasecrets in theopenshift-machine-apinamespace any time themachine-config-server-caconfigmap is updated. -
The Machine Config Operator renders the
master-user-data-managedandworker-user-data-managedsecrets from themachine-config-server-caconfigmap.
Management
At this time, directly modifying either of these certificates is not supported.
Expiration
The MCS CA and MCS certificate are valid for 10 years and are automatically rotated by the MCO at 8 years.
The issued serving certificates are valid for 10 years.
|
|
This automatic certificate rotation applies only to clusters that use machine sets. For clusters that do not use machine sets, such as vSphere user-provisioned infrastructure clusters, you are required to manually rotate these certificates. For more information on manual certificate rotation, see the Red Hat Knowledgebase article Regenerating CA certificates for the Machine Config Server. |
Customization
You cannot customize the MCO certificates.