Encrypt SAML Responses for SaaS Deployments
This page provides instructions for configuring encryption for Security Assertion Markup Language (SAML) responses in your SaaS environment.
You can improve the security of the SAML authentication by encrypting the SAML response from the IdP to the service provider (your Controller Tenant). Your Controller Tenant shares a public key with the IdP and stores a private key to decrypt the public key. You must be an Account Owner to configure the Controller Tenant to accept encrypted SAML responses.
Install OpenSSL
Generate an x509 Certificate
Enable SAML Encryption
After you generate the private key in pkcs8
- Navigate to AppDynamics > Administrator > Authentication Provider > SAML.
- Check Enable for SAML Encryption.
Add the Encrypted Certificate and the Private Key to the Controller Tenant
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 Tenant 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 Tenant and the SAML responses from your IdP are not encrypted, your Controller Tenant will reject the SAML authentication when using SAML authentication to log in to your Controller Tenant.
To verify that the SAML response is encrypted: