Issue the following JDBC commands on the client, substituting the correct user, password, database, and path values for the truststore:
Properties props = new Properties(); props.setProperty("user", "beehive"); props.setProperty("password", "beehive_password"); props.setProperty("database", "beehive"); props.setProperty("ENABLESSL", "true"); props.setProperty("SSLENCRYPTREADS", "true"); props.setProperty("SSLTRUSTSTORE","C:\\truststore\\truststore.jks"); props.setProperty("SSLTRUSTSTOREPASSWORD","aster_password"); props.setProperty("SSLFILETYPE", ","1"); Connection conn = DriverManager.getConnection(url, props);