File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Sockets and Internet Protocols
Overriding the Security Certificate
Joined: Jun 22, 2006
Feb 10, 2009 06:11:31
I am trying to connect to a dummy site with ssl. This site is setup for
. Right now no valid security certificate is associated with this site.
httpsURL = "https://www.site.com/";
URL myurl = new URL(httpsURL);
When I try to execute the above code I get Invalid Certificate as the exception message. Is there any way to override the security certificate settings for HttpsURLConnections?
Thanks in Advance
I agree. Here's the link:
subject: Overriding the Security Certificate
HTTPS Certificate Requests
Problem in httpsConnection
HTTPS and Java
certificate format for cacerts
Servlets and SSL
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014