Skip site navigation (1) Skip section navigation (2)

Re: ssl connection and webstart

From: "Donald Fraser" <postgres(at)kiwi-fraser(dot)net>
To: "[JDBC]" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: ssl connection and webstart
Date: 2007-11-29 10:00:11
Message-ID: 001b01c8326e$a53ba500$2064a8c0@LISTINGS12 (view raw or whole thread)
Lists: pgsql-jdbc
>How can I add the cert via webstart so a "user" can do this?

Are you using any standard certificates from the default certificate key

If the answer is no, then one idea is to create your own certificate key
store in your software and add your certificate with java code.
You do this as part of creating your SSLSocketFactory, see attached example.
And then when your application starts up, the first thing you do before
making any connections to postgresql database is:"ssl.SocketFactory.provider",

Hope that helps.
Donald Fraser

Description: application/octet-stream (7.3 KB)

In response to

pgsql-jdbc by date

Next:From: tivvpgsqljdbcDate: 2007-11-29 10:18:48
Subject: Re: PreparedStatement vs. Statement problem
Previous:From: Donald FraserDate: 2007-11-29 09:58:23
Subject: Re: ssl connection and webstart

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group