Re: SSL for JDBC
От | Tarjei Skorgenes |
---|---|
Тема | Re: SSL for JDBC |
Дата | |
Msg-id | 20030219181955.GI9079@sfrn-spcb18.himolde.no обсуждение исходный текст |
Ответ на | Re: SSL for JDBC (Barry Lind <blind@xythos.com>) |
Ответы |
Re: SSL for JDBC
|
Список | pgsql-jdbc |
On Wed, Feb 19, 2003 at 09:40:52AM -0800, Barry Lind wrote: > Takeo, > > There is more work necessary than what you have tried. Please look at > the documentation for how the postgres server negotiates a connection > with the client regarding ssl. > http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=protocol-protocol.html#AEN54636 > > Basically, the connection is initiated with non-ssl and then converted > to ssl later. I was just looking at the java ssl API and I don't see a > way to do this in java. Does anyone more familiar with java ssl support > know how you can convert a regular socket connection to ssl after you > have created and used it? I tried making this work last year and got it up and running fairly easy. Never quite got around to clean it up and send inn a patch though. For those interested the code is available at the following address: http://home.himolde.no/~tarjeis/jdbc-ssl.tar.gz The interesting bits is in the org.postgesql.SSLConnection class. -- Tarjei Skorgenes
В списке pgsql-jdbc по дате отправления: