SAP Knowledge Base Article - Preview

3671180 - Forcing TLS13 in HANA causing hdbsql to fail on Windows: The message received was unexpected or badly formatted.

Symptom

Forcing TLS13 in HANA causes hdbsql to fail on Windows:

C:\>hdbsql -n hanaserver.domain.com:30013 -u SYSTEM -p PASSWORD -e
* -10709: Connection failed (RTE:[300012] Cannot create SSL engine: The message received was unexpected or badly formatted.
 (0.0.0.0:58325 -> hanaserver.domain.com:30013)) SQLSTATE: HY000

C:\>hdbsql -v
HDBSQL version 2.19.21.1703090032, the SAP HANA Database interactive terminal.
Copyright 2000-2023 by SAP SE.


Read more...

Environment

  • HANA 2.00.7x and higher
  • TLS13 enabled
        global.ini
        [communication] -> sslenforce = true
        [communication] -> sslmaxprotocolversion = tls13
        [communication] -> sslminprotocolversion = tls13
  • HANA Client for Windows x64
  • Root Certificate in-place at the Windows Machine with installed HANA Client

Product

SAP HANA, platform edition 2.0

Keywords

tls13, tls1.3, tlsv13,tlsv1.3, TLS, HANA Client, Client, Windows, sslmaxprotocolversion , KBA , HAN-DB-SEC , SAP HANA Security & User Management , HAN-DB-CLI , SAP HANA Clients (JDBC, ODBC) , 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.