Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Jul 7, 2022 7:12:31 AM
Oct 29, 2017 8:02:13 AM
How to decrypt a heavily encoded SAML message.
If you have set up the Identity Provider to encrypt the SAML assertion, then in order to see what it contains for troubleshooting, you will need to decrypt it.
Qlik Sense Enterprise on Windows , all versions
It is important to understand the 3 below concepts when using SAML.
A SAML AuthnRequest is:
A SAML assertion (The assertion is a section in the SAML response) is:
* It must be the private key in clear text, not protected by a passphrase. A protected private key will begin with -----BEGIN ENCRYPTED PRIVATE KEY----- while a clear text private key will begin with -----BEGIN RSA PRIVATE KEY----- In order to decrypt a private key, you can use the command: openssl rsa –in enc.key -out dec.key You will be asked to enter the passphrase for your private key. Please note that openssl must be installed and you should run this command from the command prompt in the folder where the binary for openssl is installed. |
@Damien_V we faced an issue with a Custom SAML Idp, when the IdP was signing the entire SAML response. In this case we encountered a 400 error during login. Signing/encrypting the assetion only solved the problem.
Thanks.