Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 422632E0226 for ; Thu, 29 Nov 2007 05:58:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 49092-01 for ; Thu, 29 Nov 2007 05:58:43 -0400 (AST) Received: from mail.cisx.com (mail.cisx.com [213.133.202.146]) by postgresql.org (Postfix) with ESMTP id 05E2D2E007F for ; Thu, 29 Nov 2007 05:58:45 -0400 (AST) Received: from LISTINGS12 ([192.168.100.32]) by mail.cisx.com (8.13.1/8.13.1) with SMTP id lAT9wTE6006543 for ; Thu, 29 Nov 2007 09:58:43 GMT Message-ID: <001701c8326e$69d53170$2064a8c0@LISTINGS12> From: "Donald Fraser" To: "[JDBC]" References: Subject: Re: ssl connection and webstart Date: Thu, 29 Nov 2007 09:58:23 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Virus-Scanned: ClamAV 0.91.2/4948/Wed Nov 28 20:42:33 2007 on mail.cisx.com X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=BAYES_50=0.001, STOX_REPLY_TYPE=0.001 X-Spam-Level: X-Archive-Number: 200711/90 X-Sequence-Number: 17845 >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 store? 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: java.security.Security.setProperty("ssl.SocketFactory.provider", "MyOrganisation.MyClientApp.ssl.MySSLSocketFactory"); Hope that helps. Regards Donald Fraser