Lesson Learned #255: SSL is required but not requested using JDBC.

Posted by

This post has been republished via RSS; it originally appeared at: Azure Database Support Blog articles.

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.


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



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.