Hello Anu, this is not really an HTTP client issue. The HTTP client just uses an SSL socket obtained from an SSLSocketFactory. The default implementation for SSL sockets is Sun's JSSE. It uses it's own mechanism for presenting client certificates if requested by the server. See also Sun's JSSE docs and samples:
http://java.sun.com/products/jsse/ http://java.sun.com/j2se/1.4.1/docs/guide/security/jsse/samples/index.html http://java.sun.com/j2se/1.4.1/docs/guide/security/jsse/samples/sockets/client/SSLSocketClientWithClientAuth.java regards, Roland "Anu Kulatunga" <[EMAIL PROTECTED]> 06.08.2003 07:44 Please respond to "Commons HttpClient Project" To: <[EMAIL PROTECTED]> cc: Subject: Presenting certificates for 2-way SSL authentication Hi, Please copy [EMAIL PROTECTED] in your reply as aI am not a subscriber of this mailing list. I am trying to access a URL on a server that requires 2-way SSL authentication. I believe this means that I will have to present my certificates to the server. Does HTTPClient have a mechanism to facilitate this ? What is the best way for me to present these certificates ? Again.. please copy [EMAIL PROTECTED] in your reply as aI am not a subscriber of this mailing list. -Anu