[CONJ-685] new useSSL parameter option only for remote hosts Created: 2019-02-21  Updated: 2023-12-15

Status: Open
Project: MariaDB Connector/J
Component/s: configuration, Failover, SSL
Affects Version/s: 2.4.0
Fix Version/s: 3.4

Type: Task Priority: Minor
Reporter: Pavel Cibulka Assignee: Diego Dupin
Resolution: Unresolved Votes: 0
Labels: None


 Description   

I'm tring to setup failover configuration with multiple hosts. I would like connector to use unsecure connection to localhost and secure connection to other machines.

Add new useSSL paramter option remote. This setting will use ssl for connections to remote host like 10.0.0.2 but will not use it for localhost and 127.0.0.1 etc.

BTW useSSL=true and localSocket throws NullPointerException at AbstractConnectProtocol.java:709



 Comments   
Comment by Diego Dupin [ 2019-03-13 ]

Joint to point: useSSL and localSocket NPE is solved by this commit

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