Results 1 to 3 of 3
Thread: SSL/HTTPS Certificate Help
- 06-18-2012, 08:03 PM #1
Member
- Join Date
- Jun 2012
- Posts
- 2
- Rep Power
- 0
SSL/HTTPS Certificate Help
Hello,
I didn't know whcih section to post this in on the site. I was hoping that there was a java security page. Anyway, I'm building a small java program for automation. The site requires a login but is also SSL/HTTPS. I can parse the web-page initially, but I don't know how to code the program to save certificates so that I can use them to authenticate against the https site... could anyone help with this? If you need clarification and more vivid detail, let me know.
Thanks,
dlopez
- 06-20-2012, 04:35 PM #2
Member
- Join Date
- Oct 2011
- Posts
- 33
- Rep Power
- 0
Re: SSL/HTTPS Certificate Help
well in order to work with SSL certificate from Java program, your keystore (located in JRE/lib/security) directory must have those certificate well in advance. you can either manually or programatically by using InstallCert.java class, add those certificate in keystore. Some time back I have written a post on How to add or list certificates from keystore or trustStore in Java - Keytool Example, you can check that if it helps.
- 06-20-2012, 05:13 PM #3
Member
- Join Date
- Jun 2012
- Posts
- 2
- Rep Power
- 0
Re: SSL/HTTPS Certificate Help
Thanks for that. I will check that out and see what I can come up with... I tried to manually put the key in the key store (via cmd prompt). However, it wouldn't take. On the business machine, I only have the JRE installed. I'm not for sure if that would be the issue, or not. I'm not as familiar with JAVA as I am with other languages...
Similar Threads
-
https
By jamesEFDS in forum NetworkingReplies: 3Last Post: 07-13-2011, 04:32 PM -
SUN 310-813 certificate
By koko12 in forum Java CertificationReplies: 2Last Post: 11-24-2009, 05:33 PM -
Usage of HTTPS
By Sayed in forum Advanced JavaReplies: 8Last Post: 12-06-2008, 10:02 AM -
HTTPS using certificate
By MCJP in forum Advanced JavaReplies: 1Last Post: 09-25-2008, 01:48 PM -
JDK 1.3 with HTTPS
By sriram in forum Advanced JavaReplies: 2Last Post: 01-21-2008, 10:51 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks