Using SSL to encrypt the network connection between a JDBC client and a server
The solidDB JDBC driver supports SSL encrypted communications by using the Java Secure Sockets Extension (JSSE). Secure communications for solidDB JDBC driver require Java version 1.7 or higher.
In order to establish encrypted communications by using the solidDB JDBC driver, set the solid_use_tls JDBC connection property to yes (the default value is no):
The property can be specified in either of the following ways:
▪ directly embedded in the DriverManager connection URL:
Connection c = DriverManager.getConnection("jdbc:solid://localhost:1315/dba/dba?solid_use_tls=yes")
▪ specified in a connection property object:
java.util.Properties prop = new java.util.Properties(); prop.put("solid_use_tls", "yes"); DriverManager.getConnection("jdbc:solid://localhost:1315/dba/dba", prop);