File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Confusion about where I add this certificate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Confusion about where I add this certificate" Watch "Confusion about where I add this certificate" New topic
Author

Confusion about where I add this certificate

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I need to add a certifcate to my key store so that I can securely connect to our LDAP server. I'm using Java 1.6 but I can't find any file with an extension ".jks" in my JAVA_HOME. If I need to create one, how do I then register it with the Java runtime environment?

Thanks, - Dave

ps, the error I'm getting is

greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
You need to add the certificate to your truststore. There are several options on how to do this including adding it to the system wide cacerts or jssecacerts file. Look at the JSSE reference guide for all the details.


Nice to meet you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confusion about where I add this certificate
 
Similar Threads
Not able to add certificate in keystore
https client certificate
HTTPS and Java
https client certificate
LDAP Authentication failed due to the following..