Hi Max,

We do not have such an example available. This is as close as it gets:

http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/src/contrib/org/apache/commons/httpclient/contrib/ssl/

EasyX509TrustManager.java & EasySSLProtocolSocketFactory.java classes extend standard 
SSL classes in order to allow for authentication against an HTTP server with 
self-signed certificate. You are likely to have to follow the same pattern: provide a 
custom X509TrustManager and a custom ProtocolSocketFactory. 

Oleg

-----Original Message-----
From: Max Johnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 12:07
To: [EMAIL PROTECTED]
Subject: Mutual SSL Authentication Using HTTP Client


Does anyone have a simple example of configuring the HTTP Client to connect
to a secure server that demands client authentication. i.e. an example where
the client has to retrieve the appropriate digital certificate and private
key from its keystore and then initialise the HTTP Client accordingly.

Preferably the example will use JDK1.4 but examples that use earlier
versions are also much appreciated.

Regards

Max


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to