Skip site navigation (1) Skip section navigation (2)

GCJ, SSL Connection Issue

From: Chad Files <cpfiles(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: GCJ, SSL Connection Issue
Date: 2005-11-29 21:23:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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...

String url = "jdbc:postgresql://server/database";
Properties props = new Properties();
Connection conn = DriverManager.getConnection(url, props);

Here is the error message...

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

I tried using different sslFactory settings like so...

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

I also used the 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

Next:From: Kris JurkaDate: 2005-11-30 01:25:00
Subject: Re: GCJ, SSL Connection Issue
Previous:From: Kris JurkaDate: 2005-11-29 20:12:26
Subject: Re: Driver does not report all catalogs

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group