The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
June 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 and certificates

Posted by George on June 23, 2000 at 2:38 AM

Hi all,
This topic is one which I have been having trouble with for the last few weeks, and I don't seem to be getting anywhere with it.

I need to connect to this site using https and a certificate. The site has provided me with the necessary certificate to install in my browser, and I can view it in my browser. But I have no idea as how to do this in Java.

I have exported the certificate to a *.cer file, but after that, what?

I've tried using HttpsURLConnection but don't seeem to be getting anywhere. How do you send a certificate (and whatever keys there are) across to the site to complete authentication?

Extremely grateful for any help. Thanks.


Sponsored Links

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