SAP Knowledge Base Article - Preview

3260460 - Connection to tenant database failed with error "Database connection is not available" or "host name 'xx' does not match names in certificate"

Symptom

  • Symptom 1:
    When adding/registering a tenant database in HANA Studio or HANA Cockpit, it failed with errors like "Database connection is not available". 
    While, the system database was successfully added or registered with same host information.

  • Symptom 2:
    Registering a tenant database securely in SAP HANA Cockpit, the registration still fails with error in Cockpit manager:
    "Failed to update server encryption
      Request Failed
      TLS certificate host name mismatch"
    While the registration of system database succeed with same information.

  • Symptom 3:
    After encrypting the communication between ABAP application server and HANA database, the application fails to start with error:
    -10709: Connection failed (RTE:[300015] SSL certificate validation failed: host name 'xx' does not match names in certificate: '<Names in Subject/SAN>' (xxx.xx.xx.xxx:xxxxx -> xxx.xx.xx.xxx:<tenant DB SQL port>))
    While,  host name 'xx' in the error message isn't the one set in hdbuserstore, and the hostname in hdbuserstore has already been included in the certificate.


Read more...

Environment

  • HANA Platform Edition 1.0
  • HANA Platform Edition 2.0
  • HANA Studio
  • HANA Cockpit 2.0
  • HANA Client

Product

SAP HANA 1.0, platform edition ; SAP HANA studio all versions ; SAP HANA, platform edition 2.0

Keywords

Database connection is not available, use_default_route, host name, tenant, HANA Studio, net_publicname, Failed to update server encryption, TLS certificate, host name mismatch, SSL certificate validation failed, does not match names in certificate, RTE:[300015] , KBA , HAN-DB , SAP HANA Database , HAN-CPT-CPT2-ADM , SAP HANA Cockpit 2 (Administration Core) , HAN-DB-CLI , SAP HANA Clients (JDBC, ODBC) , HAN-DB-SEC , SAP HANA Security & User Management , HAN-STD-ADM-DBA , SAP HANA Studio (Eclipse) Admin Tooling , 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.