SAP Knowledge Base Article - Preview

2532518 - Bad Signature or Incorrect Signing Certificate: Verification failed - when uploading metadata file for SAML configuration

Symptom

Adding a trusted provider by uploading its metadata file fails with the following errors:

Bad Signature or Incorrect Signing Certificate: Verification failed
Metadata cannot be verified

metadata.JPG

Troubleshooting Wizard trace (SAP Note 1332726) with template "SAML2.0 (Debug)" shows the following error:

bad signature or wrong signature certificate
[EXCEPTION]
com.sap.security.saml2.lib.common.SAML2Exception: Verification failed.
...
Caused by: com.sap.engine.lib.xml.signature.SignatureException: Unable to validate signature -> java.lang.IllegalArgumentException: No cipher for algorithm http://www.w3.org/2001/04/xmldsig-more#rsa-sha256 could be resolved


Read more...

Environment

SAP NetWeaver Application Server Java

Product

SAP NetWeaver Application Server for Java all versions

Keywords

saml2.0 identity provider adfs sso configuration settings , KBA , BC-JAS-SEC-SML , JAVA SAML 1.1 and 2.0 , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.