Decryption Key and Encryption Certificate rotation
Here are the steps you should follow to avoid any down time during the key and certificate rotation:
- Generate a new Private Key for decrypting SAML assertion and a corresponding certificate for encrypting assertion.
- Upload this new private key as the Next private key for decrypting SAML assertions field in the Cloudera Management Console.
- Upload the certificate as the Certificate for Encrypting SAML Responses field in the Cloudera Management Console.
- Click Update Authentication Settings.
- Get the latest SAML Service Provider Metadata from the Cloudera Management Console. This should now have the new “encryption” certificate.
- Upload this service provider metadata to your actual Identity Provider, so that Identity Provider now starts encrypting SAML assertions with the new certificate.
-
Once the IdP begins using the new encryption certificate:
- Upload the new Private key in the Cloudera Management Console as the Current Private Key for Decrypting SAML Assertions.
- Remove the Next Private Key for Decrypting SAML Assertions by clicking the Remove button next to it or by entering an empty string.
- Click Update Authentication Settings to finalize the key rotation.
