SAP Knowledge Base Article - Preview

3404954 - CX_SAML20_CORE: Can't encrypt string from SEC_DIAG_TOOL trace

Symptom

After experiencing a SAML Authentication problem, below error appears in the SEC_DIAG_TOOL Trace file:

  • CX_SAML20_CORE: Can't encrypt string: Can't envelop xstring, CRC 9' 
  • CX_SAML20_CORE: Can't encrypt string: 'Can't instantiate local SAML 2.0 entity Call of function'

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP NetWeaver
  • ABAP Platform
  • ADFS Identity Provider

Product

ABAP platform all versions ; SAP NetWeaver Application Server all versions

Keywords

xstring, SAML2, Key Encipherment, Data Encipherment, key usage, CX_SAML20_CORE, Can't encrypt string, Can't envelop xstring, CRC 9 , KBA , BC-SEC-LGN-SML , SAML 2.0 for ABAP , 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.