CPM: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error
Symptom
Connections to MSSQL account fails with below message.
State: 08001 Native error: 18 Message:[Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error
Environment
11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;13.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM) CPM
MSSQL
Cause
When trying to perform password change for MSSQL server, you get the following error message: -SSL Security error
Resolution
It's likely an issue with the version of the SQL Native Client driver being used to establish the connection.
1) Please Download & install "ODBC Driver 13 for SQL Server" on the CPM servers.
https://learn.microsoft.com/en-us/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows?view=sql-server-ver15#13
Download 32 bit driver : x86\msodbcsql.msi
2) Install as usual
3) Edit MSSQL Platforms to change the connection command from
Driver={SQL Server};Server=%ADDRESS%;Database=%DATABASE%;Uid=%USER%;Pwd=%LOGONPASSWORD%;
to
Driver={ODBC Driver 13 for SQL Server};Server=%ADDRESS%;Database=%DATABASE%;Uid=%USER%;Pwd=%LOGONPASSWORD%;
4) Restart the CPM service to pick up the platform changes & retest
Additional Information
Details
1) Please Download & install "ODBC Driver 13 for SQL Server" on the CPM servers.
https://www.microsoft.com/en-us/download/confirmation.aspx?id=50420
Download 32 bit driver : x86\msodbcsql.msi
2) Install as usual
3) Edit MSSQL Platforms to change the connection command from
Driver={SQL Server};Server=%ADDRESS%;Database=%DATABASE%;Uid=%USER%;Pwd=%LOGONPASSWORD%;
to
Driver={ODBC Driver 13 for SQL Server};Server=%ADDRESS%;Database=%DATABASE%;Uid=%USER%;Pwd=%LOGONPASSWORD%;
4) Restart the CPM service to pick up the platform changes & retest