Title: RE: how to sepcify certificate alias

Hi,

Well the short answer is it depends on the ssl library you use, for instance sun or ibm.
Both, as far as i know, dont allow you to do this out of the box. In my experience they
they both take the first client certificate found in the key store. We just use a different
key store per client. You could write your own keymanager class wich subclasses the
keymanager of your ssl implementation, but i have not found a working way yet on
using that from within axis.

Greetz
Leo

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag, februari 2004 20:53
Aan: [EMAIL PROTECTED]
Onderwerp: how to sepcify certificate alias


I have two applications that access a web service. We use HTTPS for
authenticatoin and encryption.
We can get these applications access the service with one certificate
stored in one keystore file,
but we want them to use two different certificats. The two certificates can
be saved in one keystore file.
Both applications run inside the same application server instance (JVM).

The problem is that we can use system property to specify where the
keystore file is, but I can not find
in JSSE document how a certificate alias is specified to tell which
applicaiton is using which certificate.


Any idea?

Thanks

Jian





De informatie verzonden met dit e-mail bericht is uitsluitend bestemd voor de 
geadresseerde. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking 
van deze informatie aan derden is niet toegestaan.  Indien dit bericht niet voor u 
bestemd is, verzoeken wij u vriendelijk dit bericht te retourneren zodat dit in de 
toekomst kan worden voorkomen. Ondanks het feit dat IZA Nederland al haar e-mail 
berichten controleert op virussen, staat zij niet in voor het virusvrij verzenden c.q. 
ontvangen van deze berichten.

Reply via email to