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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: PostgreSQL + SSL - sun.security.validator.ValidatorException


  • From: Kris Jurka <books(at)ejurka(dot)com>
  • To: Andrew M <andrew(at)jibeya(dot)com>
  • Cc: John R Pierce <pierce(at)hogranch(dot)com>, pgsql-jdbc(at)postgresql(dot)org
  • Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
  • Date: Sat, 11 Dec 2004 07:33:41 -0500 (EST)
  • Message-id: <Pine.BSO.4.56.0412110728120.2747@leary.csoft.net> <text/plain>


On Sat, 11 Dec 2004, Andrew M wrote:

> The only problem with this is, how do you copy an openssl {key|crt} 
> pair into a keytool keystore?

No this isn't the problem.  The problem is telling the SSL implementation
that you want to use this cert for client authentication.  The best I can
gather is that you would need to implement a javax.net.ssl.X509KeyManager
and make chooseClientAlias() return the alias of the cert you want to use
in the keystore.  Implementing a X509KeyManager does not look like an easy
thing to do though and there doesn't seem to be a good way of only
extending part of it and falling back to the default implmentation for the 
rest.

Kris Jurka



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group