Encrypt SAML Responses for On-Premises Deployments
This page provides instructions on configuring encryption for Security Assertion Markup Language (SAML) responses in your on-premises.
You can improve the security of the SAML authentication by encrypting the SAML response from the IdP to the service provider (your Controller). Your Controller shares a public key with the IdP and stores a private key to decrypt the public key.
Install OpenSSL
Generate an x509 Certificate
Enable SAML Encryption
After you generate the private key in pkcs8 format and the x509 certificate:
- Navigate to AppDynamics > Administrator > Authentication Provider > SAML.
- Check Enable for SAML Encryption.
Add the Encrypted Certificate and the Private Key to the Controller
You must add the generated x509 certificate so that it is sharable with the IdP. You must also provide the private key so that the Controller can decrypt the SAML response from the IdP.
Configure IdP to Encrypt Response
Each IdP requires a different configuration for encrypting responses. Follow this high-level procedure:
- From your IdP, enable SAML encryption. In some IdPs, this is known asassertion encryption.
- Select an encryption algorithm. You can select any encryption method, or some IdPs choose one for you.
- Upload the x509 certificate that you generated in Generate an x509 Certificate.
Verify SAML Responses Are Encrypted
If you have enabled encryption for SAML in your Controller and the SAML responses from your IdP are not encrypted, your Controller will reject the SAML authentication when using SAML authentication to log in to your Controller.
To verify that the SAML response is encrypted: