SAP Knowledge Base Article - Preview

3798842 - SWPM fails at MssLoginInfo with “SSL Provider: The target principal name is incorrect”

Symptom

During an SAP system installation or system copy on Microsoft SQL Server, SWPM fails at the following step:

NW_MSS_DBINFO > MssLoginInfo > dAskForConnection

The following errors appear in sapinst_dev.log:

Cannot connect to <database_server>
[Microsoft][ODBC Driver 18 for SQL Server]
SSL Provider: The target principal name is incorrect.
[Microsoft][ODBC Driver 18 for SQL Server]
Client unable to establish connection.


The log may also contain:

The MS SQL Server version (17) is not supported by this installation.

The SQL Server certificate contains the fully qualified domain name (FQDN), but SWPM attempts to connect using the short hostname.


Read more...

Environment

  • Software Provisioning Manager 1.0
  • Microsoft SQL Server
  • Microsoft ODBC Driver 18 for SQL Server
  • SWPM installation or system-copy procedure
  • Step NW_MSS_DBINFO > MssLoginInfo

Keywords

swpm, mssql, odbc driver 18, ssl provider, the target principal name is incorrect, certificate, tls, fqdn, short hostname, hostname mismatch, msslogininfo.dbserver, msslogininfo, dAskForConnection, system copy, netweaver java, sql server connection error , KBA , BC-DB-MSS-INS , SQL Server Installation for SAP NetWeaver Products , 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.