The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000



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.


Https connection

Posted by George on July 02, 2000 at 11: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 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.


Sponsored Links

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