Lesson Learned #255: SSL is required but not requested using JDBC.
Published Dec 21 2022 11:03 AM 1,570 Views

Today, I worked on a service request that our customer got the following error message: SSL is required but not requested. This issue means that SSL is required (Azure SQL or Azure SQL Managed Instance is encrypting the data) but in the connection string has not been specified SSL connection. 

 

If you faced this issue, please, review in the documentation of the driver any parameter related about the encryption method to specify the value for SSL, for example, EncryptionMethod=SSL. Also update the driver might help on that.

 

In Setting the connection properties - JDBC Driver for SQL Server | Microsoft Learn we don't have this parameter.

 

Enjoy!

Version history
Last update:
‎Jan 18 2023 03:49 PM
Updated by: