Try checking it out of subversion.  Or you can cut & paste the code from
those two classes.  That's all you need.

Or.... 

I've been experimenting with a slightly different approach:

http://juliusdavies.ca/commons-ssl/


But be careful.  Too many people are just using
"EasySSLProtocolSocketFactory" to get their systems working, and they're
not realizing the implications.  EasySSLProtocolSocketFactory breaks the
security model of public PKI.  If you use "Easy", you're not much better
off than "http://"; !

I would use this instead if possible:

http://juliusdavies.ca/commons-ssl/TrustExample.java.html

(it's slightly out of date since I've renamed some things - I'll post a
fix in a couple hours)

yours,

Julius



On Wed, 2006-16-08 at 14:43 -0500, Steven Murphy wrote:
> The tutorial does a good job of telling me about the contribution package:
> 
> "There are several custom socket factories available in our contribution
> package. They can be a good start for those who seek to tailor the behavior
> of the HTTPS protocol to the specific needs of their application:
>  
> EasySSLProtocolSocketFactory<http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/ssl/EasySSLProtocolSocketFactory.java?view=markup>can
> be used to create SSL connections ..."
> 
> 
> However, it doesn't go far enough and actually tell me where to find this
> "contribution package".  The author must not realize how difficult it is to
> find something like this without prior knowledge of it's existance.  So  can
> someone please  shed some light on where this package can be found?   Yes, I
> tried Google without luck.  Yes I tried looking  in the mailing list
> archive, but frankly without a search function, it's a bit  tedious to look
> through countless pages  looking for a needle in a hay stack.
-- 
Julius Davies
Senior Application Developer, Technology Services
Credit Union Central of British Columbia
http://www.cucbc.com/
Tel: 604-730-6385
Cel: 604-868-7571
Fax: 604-737-5910

1441 Creekside Drive
Vancouver, BC
Canada
V6J 4S7

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

Reply via email to