SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 66966: The error "Unable to dynamically load client DLL libS0ssl28.so..." might occur when you connect to Microsoft SQL Server and use NTLM authentication

DetailsHotfixAboutRate It

When connecting to SQL Server using SAS/ACCESS® Interface to Microsoft SQL and NTLM authentication, you might receive the following error:

ERROR: CLI error trying to establish connection: [SAS][ODBC SQL Server Wire Protocol driver]Unable to dynamically load client DLL libS0ssl28.so. : [SAS][ODBC SQL Server Wire Protocol driver]SSL Initialization failure.
ERROR: Error in the LIBNAME statement.

Click the Hot Fix tab in this note to access the hot fix for this issue.

After applying the hot fix, you must add the following options to your ODBC dsn. If you use SAS®9.4, you can use the following options. Note: You must change <SASROOT> to be the location of your SAS install:

CryptoProtocolVersion=TLSv1.2, TLSv1.1,TLSv1, SSLv3, SSLv2
EncryptionMethod=1
CryptoLibName=<SASROOT>/SASFoundation/9.4/sasexe/libcrypto.so
SSLLibName=<SASROOT>/SASFoundation/9.4/sasexe/libssl.so

If you use SAS® Viya® 3.5, you must use the following options. You must create the libssl.so and libcrypto.so files using OpenSSL.

CryptoProtocolVersion=TLSv1.2, TLSv1.1,TLSv1, SSLv3, SSLv2
EncryptionMethod=1
CryptoLibName=<location of file>/libcrypto.so
SSLLibName=<location of file>/libssl.so

If you use the SAS® Viya® platform 2020.1 or later, use the following options:

CryptoProtocolVersion=TLSv1.2, TLSv1.1,TLSv1, SSLv3, SSLv2
EncryptionMethod=1
CryptoLibName=/usr/lib64/libcrypto.so
SSLLibName=/usr/lib64/libssl.so


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to Microsoft SQL ServerLinux for x64V.03.052020.1ViyaViya
64-bit Enabled AIX2020.19.4 TS1M7Viya
64-bit Enabled Solaris2020.19.4 TS1M7Viya
HP-UX IPF2020.19.4 TS1M7Viya
Solaris for x642020.19.4 TS1M7Viya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.