SSL - NonValidatingFactory
От | nmset@netcourrier.com |
---|---|
Тема | SSL - NonValidatingFactory |
Дата | |
Msg-id | mnet1.1248425326.6422.nmset@netcourrier.com обсуждение исходный текст |
Ответы |
Re: SSL - NonValidatingFactory
|
Список | 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 по дате отправления: