I've been doing the same. I found it easier to just import the self-signed cert into my JRE. Let me know if you need some examples.

Mike

On Thursday, March 13, 2003, at 06:13 PM, Oleg Kalnichevski wrote:

Hi Adrian
Have you even had a chance to complete that simple TrustManager of
yours?. Currently I need to be able to access my local web server that
is using self-signed certificate for SSL transactions. It's a bit
unfortunate that I may end up reinventing the wheel.
Cheers
Oleg

On Mon, 2003-02-24 at 05:00, Adrian Sutton wrote:
Hi Eric,
Thanks for the pointers, that reference guide is extremely useful.
Currently I've implemented a simple TrustManager which logs problems with
certificates but doesn't throw exceptions, thus allowing HttpClient to work
with self-signed certificates. When I get a chance I'll polish it up a
little, and make it available in the contrib section that's been proposed.
Depending on the requirements my boss gives me for it, it may go so far as
being able to add keys to the keystore etc, but I'm hoping to avoid that.


If anyone is interested in this code now, I'd be happy to provide it, but it
is fairly poor quality at the moment.


Regards,

Adrian Sutton, Software Engineer
Ephox Corporation
www.ephox.com


-----Original Message----- From: Eric J Johnson [mailto:[EMAIL PROTECTED] Sent: Saturday, 22 February 2003 1:10 PM To: Commons HttpClient Project Subject: Re: Problem with SSL Certificate


Hi Adrian,


You'll probably want to browse the JSSE reference
guide if you haven't already.

http://java.sun.com/j2se/1.4/docs/guide/security/jsse/ JSSERefGuide.html
<snip>


---------------------------------------------------------------------
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]




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



Reply via email to