It is possible to create a standard JSSE impl, but only for 1.4 JDK. In
previous JDK's the required classes were of the com.sun.net.ssl variety,
which of course is ugly. There is no cross-vm solution for JDKs prior to
1.4 that I am aware of.
- Matt Secoske
Ortwin Gl�ck <[EMAIL PROTECTED]>
06/26/2003 10:07 AM
Please respond to "Commons HttpClient Project"
To: Commons HttpClient Project <[EMAIL PROTECTED]>
cc:
Subject: Re: Client Auth / Certificates
It sure would be useful however I am not sure if it is possible. I never
used a standard JSSE implementation. We used SSLava in our projects
(because it's supposed to be faster) and SSLava is does not have a JSSE
interface. So I wrote a SSLSocketFactory that configured SSLava to use a
specific client certificate. Maybe with a JSSE compatible implementation
this can be done in a generic way. The implementation that I have is
very SSLava specific and probably of no use to anybody else.
Odi
[EMAIL PROTECTED] wrote:
> Ortwin -
>
> Correct. I have completed the code using
javax.net.ssl.HttpsURLConnection
> (Creating a special keymanager (for my crypto framework), setting up the
> SSLContext, creating SSLSocketFactory, etc.) . I was just hoping that
> HttpClient had a Socket factory already written for this functionality,
as
> it would buy me a few other things, mainly timeouts. I would be glad
to
> write the Socket factory myself, but I am unfortunately on a short
> schedule. Would this functionality be of use to anyone else? If it
is
> something people would find useful, I would gladly contribute it.
>
> Thanks,
> Matt Secoske
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]