Hi,
 
Yes but that will leave the task of selecting a certain client certificate up to the
ssl implementation, wich is quite random. Therefore this is not enough for a solution.

Greetz
Leo
-----Oorspronkelijk bericht-----
Van: Dhanush Gopinath [mailto:[EMAIL PROTECTED]
Verzonden: woensdag, februari 2004 7:26
Aan: [EMAIL PROTECTED]
Onderwerp: Re: how to sepcify certificate alias

Try this
 
  System.setProperty("javax.net.ssl.keyStore",Property.SSL_KEYSTORE);
  System.setProperty("javax.net.ssl.trustStore",Property.SSL_TRUSTSTORE);
  System.setProperty("javax..net.ssl.keyStorePassword",Property.SSL_KEYSTORE_PWD);
  System.setProperty("javax.net.ssl.trustStorePassword",Property.SSL_TRUSTSTORE_PWD);
Specify the details of certificate and password, I mean keystore, truststore and its passwords in the Property File or directly
 
Cheers
Dhanush
 
----- Original Message -----
Sent: Wednesday, February 11, 2004 1:22 AM
Subject: 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




*********************************************************
Disclaimer

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com




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