Did this article resolve your question/issue?



Error "SSL is needed" when connecting to SQL Azure using ODBC

« Go Back


TitleError "SSL is needed" when connecting to SQL Azure using ODBC
URL Name000057797
Article Number000192458
EnvironmentProduct: Connect/Connect64 for ODBC SQL Server Wire Protocol driver
Version: 7.1.4 and later
Product: Progress DataDirect for ODBC SQL Server Wire Protocol driver
Version : 8.0 and higher
OS: All supported platforms
Database: SQL Azure
Question/Problem Description
The errors below are returned when connecting to SQL Azure.
Steps to Reproduce
Clarifying Information
Error Message[DataDirect][ODBC SQL Server Wire Protocol driver]SSL is required, but was not requested.
[DataDirect][ODBC SQL Server Wire Protocol driver]Cannot load trust store.
Defect Number
Enhancement Number
The Azure SQL Database requires encryption (SSL) at all times.
"Azure SQL Database Security Guidelines and Limitations"
Turn on SSL for the data source by setting Encryption Method (EncryptionMethod) to 1 (SSL) and also configure the Trust Store.
For testing only, ValidateServerCertificate=0 can be set so that the driver does not validate the certificate that is sent by the database server. This is useful in test environments because it eliminates the need to specify truststore information on each client in the test environment.
References to other documentation:

Progress DataDirect for ODBC for SQL Server Wire Protocol Driver User's Guide and Reference, "Connection Option Descriptions"
DataDirect Connect® Series for ODBC User's Guide, "Drivers for 32-Bit and 64-Bit Platforms" : "The SQL Server Wire Protocol Driver" : "Connection Option Descriptions for SQL Server Wire Protocol driver"
Last Modified Date1/8/2020 9:56 PM
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.