SSL - NonValidatingFactory - Mailing list pgsql-jdbc

From nmset@netcourrier.com
Subject SSL - NonValidatingFactory
Date
Msg-id mnet1.1248425326.6422.nmset@netcourrier.com
Whole thread Raw
Responses Re: SSL - NonValidatingFactory  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Hello,

I am having problems making SSL connection to PostgreSQL 8.3.7 with the
jdbc driver, when using the NonValidatingFactory. The server constantly
rejects the connection saying there is no certificate presented.

There is no problem when NonValidatingFactory is not in use, and a
keystore + truststore are used by the usual mechanism (-Djavax.ssl...).

According to the PostgreSQl server documentation, if a root.crt
cerfificate is present in the data directory of the database cluster,
the server requires that a client certificate must be verified.

The NonValidatingFactory is supposed to bypass any credentials
presentation to the server.

How can one manage to use the NonValidatingFactory successfully ? just
for traffic encryption.

Thank you.


SET
nmset@netcourrier.com


pgsql-jdbc by date:

Previous
From: Daniel Migowski
Date:
Subject: Re: Encoding from CopyManager.copyIn()
Next
From: Kris Jurka
Date:
Subject: Re: SSL - NonValidatingFactory