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:

assessment

Posted by m a iqbal on June 20, 2001 at 10:48 AM

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

> 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