Re: Support for cert auth in JDBC - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Support for cert auth in JDBC
Date
Msg-id CADK3HH+X8s+c-h+nQ5Qp2kvUMT-Z-g3u19SbZhwBqFYtGj2Law@mail.gmail.com
Whole thread Raw
In response to Support for cert auth in JDBC  (Paula Price <paula.price@issinc.com>)
Responses Re: Support for cert auth in JDBC  (Paula Price <paula.price@issinc.com>)
List pgsql-jdbc
Hi Paula,

Can you provide us with a bit more information ? Have you talked to hibernate guys to see what the problem is? It would seem that SSL works fine with pg and java, it is when you add hibernate to the mix that everything goes wrong.

Dave

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Tue, Jan 15, 2013 at 11:53 AM, Paula Price <paula.price@issinc.com> wrote:

Hello,

 

I followed this thread to the end - Support for cert auth in JDBC.  I have spent two weeks trying to figure out why hibernate does not work with my postgresql ssl.

 

I have openssl working great and I have the java certs working with a simple java program.  When I throw hibernate into the mix everything goes wrong.

 

I am trying to get full authentication working. My certs are valid (proved with simple java code).

 

Is anyone able to help me with the final steps needed to put the CertAuthFactory in the jdbc driver?  I have not done java for a couple of years so I may be a little slow (I would also like to see some examples of using the CertAuthFactory).  I think I only need it to validate one trust store, so I do not need to pass in the trust store – although I have been known to be wrong before.

 

Any assistance is greatly appreciated.

 

Thanks,

Paula Price

 

 


pgsql-jdbc by date:

Previous
From: Paula Price
Date:
Subject: Support for cert auth in JDBC
Next
From: Chen Huajun
Date:
Subject: [BUGS]log can not be output when use DataSource