ARTIFACTORY: How to resolve SAML login error with “Signature cryptographic validation not successful”
Signature verification from SAML provider failed with “Failed to verify response signature” error
Affected Versions: Artifactory
DescriptionWhen logging into Artifactory using SAML (e.g. Okta), you may run into the below error in the browser.
{"errors":[{"status":400,"message":"{\"error\":\"Error occurred while trying to login using SAML. Check your Artifactory logs for more details.\"}"}]}In Artifactory logs, you may see the below error message.
Signature verification failed. Failed to verify response signature org.opensaml.xmlsec.signature.support.SignatureException: Signature cryptographic validation not successful
When this error message appears, it suggests that the SAML response signature could not be verified during the login process. This issue commonly occurs when the certificate used to sign the SAML response is either invalid or has expired.
Resolution
To resolve this issue, verify and ensure that you are using a valid certificate.