Mark,
We do not have a full-blown tutorial on this subject as SSL
authentication is basically is out of HttpClient scope.
This sample code does, however, have extensive javadocs on the matter.
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/contrib/org/apache/commons/httpclient/
It just means you need to write your own Socket factory that returns a
socked configured with the client certificate! Of yourse you can use
HttpClient.
Odi
Dan Tran wrote:
Odi, thanks for the suggestion. Does it mean, I will not be able to use
HttpClient at all?
Many thanks
-Dan
---
Odi, thanks for the suggestion. Does it mean, I will not be able to use
HttpClient at all?
Many thanks
-Dan
- Original Message -
From: "Ortwin Glück" <[EMAIL PROTECTED]>
To: "Commons HttpClient Project" <[EMAIL PROTECTED]>
Sent: Friday, October 24, 2
Dan Tran wrote:
The question here is how to I configure EasySSLProtocolSocketFactory to handle client certificate?
This is completely implementation dependent.
For JSSE take a look at
http://java.sun.com/j2se/1.4.1/docs/guide/security/jsse/samples/sockets/client/SSLSocketClientWithClientAuth.java