Wikis - Page

Knowledge Doc: SSC 22.x - SAML initialization failed and will not be used for authentication. Unable to initialize cryptographic keys.

0 Likes

Summary
SAML SSO configuration cannot be completed in SSC because of wrong password in SSC SAML for 'Singing & encryption key password'.

Products
Fortify

Environment
SSC 22.2

Situation
[ERROR] com.fortify.manager.security.auth.SamlKeysHolder - SAML initialization failed and will not be used for authentication. Unable to initialize cryptographic keys.

java.security.UnrecoverableKeyException: Get Key failed: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.

at sun.security.pkcs12.PKCS12KeyStore.engineGetKey(PKCS12KeyStore.java:446) ~[?:?]

Cause
Wrong password was used in SSC SAML for 'Singing & encryption key password'.
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.

Resolution
Set correct password in SSC SAML for 'Singing & encryption key password'.


Knowledge Base Article Link


URL Name
KM000015000

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended