IDP test connection fails when customers use their own JKS to sign the SAML Authentication Requests
IDP test connection fails when customers use their own JKS to sign the SAML Authentication Requests and you below error when SAML debugging is enabled. Also clicking Generate Metadata UI Action on the IdP record generates no metadata.
SAML2Error: generateCredential:Private key for signing is null. Check if signing key alias is set correctly or the key password is set correctly.
This error appears when platform is unable to retrieve and use the private key from your JKS so as to sign your SAML Authentication request. And, that could be due to various reasons including JKS is missing the private key certificate, Signing/Encryption Key Alias and Passwords on the IdP records are not not of the private key and are instead of JKS.
Please make sure the following: