X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6507A9DCBD5 for ; Tue, 29 Nov 2005 17:23:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27040-09 for ; Tue, 29 Nov 2005 17:23:17 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by postgresql.org (Postfix) with ESMTP id 52D749DCCCF for ; Tue, 29 Nov 2005 17:23:14 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 13so249576nzn for ; Tue, 29 Nov 2005 13:23:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=lZggxENXjUU9IewJKViNmKHvhqDeaqHclGoVCym+bxDqXdfcyE77uZwbOSDvKpFcNYvdkfTHprSePT/UdGoh/MZIszDF+dqWGAaLPpLlzRs9KZ97V2ZOGps7JwPUqY4TeOWoq2p4U62DAGNwHF9t3KOxnYa6lXY+iH8+kp3OUro= Received: by 10.36.251.76 with SMTP id y76mr4993875nzh; Tue, 29 Nov 2005 13:23:12 -0800 (PST) Received: by 10.36.61.18 with HTTP; Tue, 29 Nov 2005 13:23:11 -0800 (PST) Message-ID: <9735eb9b0511291323q6416ac9cp14bcbf060d418737@mail.gmail.com> Date: Tue, 29 Nov 2005 15:23:12 -0600 From: Chad Files To: pgsql-jdbc@postgresql.org Subject: GCJ, SSL Connection Issue MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/228 X-Sequence-Number: 14326 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 =3D "jdbc:postgresql://server/database"; Properties props =3D new Properties(); props.setProperty("user","na"); props.setProperty("password","na"); props.setProperty("ssl","true"); Connection conn =3D 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.