When setting up SAML with Qlik Sense, a 400 or 500 error appears. The setup for the QMC Virtual Proxy and 3rd Party Setup is correct.
Error 500 - Internal server error
Error 400 - Bad Request
The Proxy Trace Audit log shows the following errors:
Unanticipated System.Security.Cryptography.CryptographicException occurred for connection
Environment
Qlik Sense Enterprise on Windows
Resolution
This suggests a need to change the Cryptographic Security Provider (CSP) to use the Microsoft Enhanced RSA and AES Cryptographic Provider.
To resolve this, we'll use Microsoft's CertUtil tool to remove the certificate from the MMC certificate store and then import the PFX file with the correct CSP.
Use CertUtil to remove the certificate from the MMC certificate store