Symptom
When X.509 certificate issued by CA includes an intermediate certificate, the SSO fails after following the Steps in Configure SSO with X.509 Authentication for SAP HANA XS Applications | SAP Help Portal.
After enabling debug traces on section Authentication and Crypto, below error can be found in debug traces.
- Enable tracing:
alter system alter configuration ('<service>.ini','SYSTEM') SET ('trace','crypto')='debug',('trace','authentication')='debug',('trace','commoncrypto')='debug' with reconfigure; - Reproduce the SSO issue.
- Disable tracing:
alter system alter configuration ('<service>.ini','SYSTEM') unset ('trace','crypto'),('trace','authentication'),('trace','commoncrypto') with reconfigure
- Symptom 1:
# --- Messages -----------
ERROR: The chain of certificates is incomplete or untrusted, missing certificate of [<serial number>] CN=<X 509 user name>
.......
[00000]\{0000\}[0/-1] YYYY-MM-DD HH:MM:SS.sssss i Authentication MethodX509Internal.cpp(00195) : unsuccessful login attempt via X509Internal! (could not validate certificate) - Symptom 2:
[00000]\{00000\}[0/-1] YYYY-MM-DD HH:MM:SS.sssss d Authentication MethodX509Internal.cpp(00211) : subject=CN=<X 509 username>, issuer=<Entity of the End-Entity Certificate>
[00000]\{00000\}[0/-1] YYYY-MM-DD HH:MM:SS.sssss d Authentication MethodX509Internal.cpp(00217) : getX509UserMapping with Utf8 NOT successful retrying with Latin1
Read more...
Environment
- SAP HANA Platform Edition 1.0
- SAP HANA Platform Edition 2.0
Product
Keywords
unsuccessful login attempt via X509Internal, could not validate certificate, getX509UserMapping, with Utf8 NOT successful retrying with Latin1 , KBA , HAN-DB-SEC , SAP HANA Security & User Management , HAN-STD-ADM-SEC , SAP HANA Security & User Management (Studio) , How To
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.
SAP Knowledge Base Article - Preview