Uploaded image for project: 'OpenShift Etcd'
  1. OpenShift Etcd
  2. ETCD-527

[Automated Rotation] ensure bundle rollout before leaf cert re-creation

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 5
    • False
    • None
    • False
    • OCPSTRAT-1104 - [etcd] manual rotation of etcd signer certs when the cluster is still online

      Currently library-go checks whether a certificate needs to be re-created by the following logic:

      https://github.com/openshift/library-go/blob/master/pkg/operator/certrotation/target.go#L145-L162

      Either it's close enough to expire, there's no issuer annotation or the signer CN does not appear in the bundle.

      With the changes in ETCD-512 we have to create the bundle with a new signer certificate up front to ensure etcd rolls out before we're signing with the new CA.

      This obviously will never trigger a certificate update when the signer changes, simply because the CA is always known to the bundle. We thus need a slightly more involved check to test whether a CA has actually been used to sign this respective certificate or not.

      AC:

      • changing the signer should invalidate certificates, even if the bundle already creates them

              Unassigned Unassigned
              tjungblu@redhat.com Thomas Jungblut
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: