SAP Knowledge Base Article - Preview

3395774 - "Name in the server certificate is not the name expected by JDBC" was raised when you tried to set up SSL connection to HANA Studio.

Symptom

You tried to configure SSL for HANA dataabase connection but following error message was shown:

Detailed error message:

Caused by: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sap://AAA.DOMAIN [Cannot connect to host AAA.DOMAIN. SAP DBTech JDBC: Host name verification failed, found CN=AAA.DOMAIN,OU=XXX,OU=XXX,O=XXX,C=XX, expected CN=BBB.DOMAIN. -813: <IP address>:55144 -> AAA.DOMAIN:30013 ConnectionID:0 SessionID:0]. 
    ...
Caused by: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Host name verification failed, found CN=AAA.DOMAIN,OU=XXX,OU=XXX,O=XXX,C=XX, expected CN=BBB.DOMAIN


Read more...

Environment

HANA Studio
JDBC connection

Product

SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0

Keywords

Host name verification failed, in-database certificate, PSE, sapsrv.pse, hostNameInCertificate, None of the hosts could be reached , KBA , HAN-DB-SEC , SAP HANA Security & User Management , 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.