Re: ssl connection strangely stops working - Mailing list pgsql-jdbc

From zhong ming wu
Subject Re: ssl connection strangely stops working
Date
Msg-id AANLkTinVK_2PsizR_HhfB-g=eS+4k0Tn3PTzxFQnMDSk@mail.gmail.com
Whole thread Raw
In response to Re: ssl connection strangely stops working  (Radosław Smogura <rsmogura@softperience.eu>)
Responses Re: ssl connection strangely stops working  (Radosław Smogura <rsmogura@softperience.eu>)
List pgsql-jdbc
On Sat, Feb 5, 2011 at 3:58 AM, Radosław Smogura
<rsmogura@softperience.eu> wrote:
> I don't think JDBC driver use custom SSL "validators" including host name and
> certificate chains, if you don't specify one with socket factory. It lies on
> this what is available in JVM. It's looks like in this way Sun SSL sockets
> works.

Very likely that the settings is in JVM.  When I wrote above reply I
made it work on Mac.
GF is using JVM of Apple.  I am still struggling to make it work on
windows 7 which uses Oracle JVM.

Also in my replied above I meant to write that there is still
hostname/CN mismatch with new unexpired commercial CA.

>
> May I ask what GF version do you use and did you specified trustore passwords
> configuration in -D propperties?
> I actually use GF and I was in need to configure truststores per JVM level (-
> D) to use SSL sockets in (v3.1 releases). I don't like this soulution as it
> require to provide clear text master password.


3.0.latest

password is set via web console -> jdbc -> connection poll ->.   Then
I entered password in one of properties form input.
The instructions I followed is in netbeans ecommerce tutorial.

I also dislike using password.  With other languages/drivers I use
client certificate.  I could not find a way to use client certificate
with jdbc

pgsql-jdbc by date:

Previous
From: Radosław Smogura
Date:
Subject: Re: ssl connection strangely stops working
Next
From: "Kevin Grittner"
Date:
Subject: Re: JDBC CallableStatement bug on functions with return parameter