[CONJ-727] Support configuration of custom SSLSocketFactory Created: 2019-08-30  Updated: 2019-10-01  Resolved: 2019-10-01

Status: Closed
Project: MariaDB Connector/J
Component/s: configuration
Affects Version/s: None
Fix Version/s: 2.5.0

Type: New Feature Priority: Major
Reporter: Jo Stenberg Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

We are trying to use the mariadb connector in a cloud environment and need to configure a custom SSLSocketFactory which apparently is not possible at the moment. We are in need of a sslSocketFactory JDBC URL parameter similar to the existing socketFactory.

We already tried to configure our custom SSLSocketFactory via the socketFactory parameter, but that fails as MySQL/MariaDB are using StartTLS: Could not connect to db:3306: Unrecognized SSL message, plaintext connection?

The postgresql jdbc driver also supports setting a custom SSLSocketFactory via an sslfactory parameter. See https://jdbc.postgresql.org/documentation/head/ssl-client.html



 Comments   
Comment by Diego Dupin [ 2019-09-02 ]

That would be a great addition.
Adding that to next version

Generated at Thu Feb 08 03:17:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.