Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-1208

Manage the MCS ignition-ca cert

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • Manage MCS cert
    • False
    • None
    • False
    • Not Selected
    • To Do
    • OCPSTRAT-709 - [internal] All OCP internal certificate chains must have clear ownership
    • 90% To Do, 0% In Progress, 10% Done
    • 0
    • 0

      Spun out of https://issues.redhat.com/browse/MCO-668

      This aims to capture the work required to rotate the MCS-ignition CA + cert.

       

      Original description copied from MCO-668:

      Today in OCP there is a TLS certificate generated by the installer , which is called "root-ca" but is really "the MCS CA".

      A key derived from this is injected into the pointer Ignition configuration under the "security.tls.certificateAuthorities" section, and this is how the client verifies it's talking to the expected server.

      If this key expires (and by default the CA has a 10 year lifetime), newly scaled up nodes will fail in Ignition (and fail to join the cluster).

      The MCO should take over management of this cert, and the corresponding user-data secret field, to implement rotation.

      Reading:

       - There is a section in the customer facing documentation that touches on this: https://docs.openshift.com/container-platform/4.13/security/certificate_types_descriptions/machine-config-operator-certificates.html

       - There's a section in the customer facing documentation for this: https://docs.openshift.com/container-platform/4.13/security/certificate_types_descriptions/machine-config-operator-certificates.html that needs updating for clarification.
       
       - There's a pending PR to openshift/api: https://github.com/openshift/api/pull/1484/files

       - Also see old (related) bug: https://issues.redhat.com/browse/OCPBUGS-9890 
       

       - This is also separate to https://issues.redhat.com/browse/MCO-499 which describes the management of kubelet certs

            djoshy David Joshy
            jerzhang@redhat.com Yu Qi Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: