The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Https in Java

Posted by Craig Collings on February 08, 2001 at 9:18 PM

> I've ben trying to get a connection through to a Https site, but it keeps failing me. I am successful in seting up a HttpURLConnection to a http:// site, but I get a java.net.NoRouteToHostException always for https://
> I am using JSSE1.0.1 for this.

> Also could someone tell me how to use certificates along with this connection? I have a cerificate which I have exported into a *.cer file and also a *.pfx. Which of these should I use and how?

Go and read it all at: http://www.javaworld.com/javaworld/javatips/jw-javatip96_p.html


> Thanks in advance for your help.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us