When I try to connect to my database using a JDBC driver and an SSL interface with the following command:
conn = database('dbname','username','password','org.postgresql.Driver','jdbc:postgresql:servername:dbname:ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory');
I receive the following error:
SSL Socket Factory Class org.postgresql.ssl.NonValidatingFactoryusername could not be instantiated
Best Answer