GCJ, SSL Connection Issue - Mailing list pgsql-jdbc

From Chad Files
Subject GCJ, SSL Connection Issue
Date
Msg-id 9735eb9b0511291323q6416ac9cp14bcbf060d418737@mail.gmail.com
Whole thread Raw
Responses Re: GCJ, SSL Connection Issue  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
I am having issues connecting to a remote postgres server over SSL
using the GCJ interpreter. I have researched the issue all day and
have not got close to solving it. Any help would be appreciated.

Here is the connection code I am using...

Class.forName("org.postgresql.Driver");
String url = "jdbc:postgresql://server/database";
Properties props = new Properties();
props.setProperty("user","na");
props.setProperty("password","na");
props.setProperty("ssl","true");
Connection conn = DriverManager.getConnection(url, props);

Here is the error message...

Caused by: java.lang.RuntimeException: error instantiating default
socket factory: java.security.NoSuchAlgorithmException: SSLv3

I tried using different sslFactory settings like so...

props.setProperty("sslfactory", "org.postgresql.ssl.NonValidatingFactory");

I also used the javax.net.ssl.SSLServerSocketFactory class in the
jessie package. With both of these classes I get the error...

The SSLSocketFactory class provided
org.postgresql.ssl.NonValidatingFactory could not be instantiated.

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Driver does not report all catalogs
Next
From: Kris Jurka
Date:
Subject: Re: GCJ, SSL Connection Issue