|
|||||||||||
|
Re: [JDBC] [GENERAL] Bug (?) in JDB
From: Harald Armin Massa <haraldarminmassa(at)gmail.com>
Date: Mon Jan 28 2008 - 12:00:45 EST
I do not know about Java and jdbc, but had similiar problems with various Python-Database adapters. Have you double-checked that true and false are valid options? at http://www.postgresql.org/docs/current/interactive/libpq-connect.html you can read sslmode This option determines whether or with what priority an SSL connection will be negotiated with the server. There are four modes: disable will attempt only an unencrypted SSL connection; allow will negotiate, trying first a non-SSL connection, then if that fails, trying an SSL connection; prefer (the default) will negotiate, trying first an SSL connection, then if that fails, trying a regular non-SSL connection; require will try only an SSL connection. If PostgreSQL is compiled without SSL support, using option require will cause an error, while options allow and prefer will be accepted but libpq will not in fact attempt an SSL connection. so probably you should use "disable" instead of "false", and "require" or "prefer" instead of true?
Harald
---------------------------(end of broadcast)---------------------------
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
Received on Mon Jan 28 12:08:58 2008This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:43:14 EDT |
||||||||||
|
|||||||||||