Ignore invalid server certificate
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Panos_Koup
Posted On:   Wednesday, July 10, 2002 12:08 AM

I use jsse and java (of course)..... and i make a http request to a web server that supports ssl,so the URL is something like https://www.something.com

The problem is that the server doesn't have a valid certificate and so i get an exception:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated



And so no connection is made....how can i bypass this and make a connection regardless of whether the certificate is valid or not....??


Thnx

About | Sitemap | Contact