I would be pretty sure that it has something to do with the fact that
you are using a self signed certificate.
I have run into this problem mainly when testing SSL connections
accross my test web servers i.e. establishing connections to
https://foo.com and using self signed certificates.
In most cases I've written ignorant https clients for my junit test
cases which establish connections regardless of whether a certificate
is signed or otherwise.
Have a look at:
http://jug.org.ua/wiki/display/JavaAlmanac/Disabling+Certificate+Validation+in+an+HTTPS+Connection
Although the explanation is in Russian the code is in English :)
Excellent!
Actually i also found the article,
http://www.javaworld.com/javatips/jw-javatip115.html
It's almost same. this is the easiest way to do.
Thanks very much!
James.
This might be another one:
http://ws.apache.org/xmlrpc/ssl.html
although I haven't read this.
In general a google search for: Create a trust manager that does not
validate certificate chains
Will give you these resources.
Hope this helps!
Cheers,
Gary
On 4/25/07, zkn <[EMAIL PROTECTED]> wrote:
<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]