This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Certificate Chain Complete? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Certificate Chain Complete? " Watch "Certificate Chain Complete? " New topic
Author

Certificate Chain Complete?

Ranjan Hunt
Greenhorn

Joined: Apr 26, 2011
Posts: 1
I am using apache tomcat 6.0.20 server and secure certificates from GoDaddy. I have created the keystore using root cerificate, 2 intermediate certs. and primary certificate and its key and deployed on the server. But, I am getting certificate error on accessing the secure URL of the application. After doin lots of googling, finally found a loop hole that "A valid Root CA Certificate could not be located, the certificate will likely display browser warnings"

Please help if anyone worked on the similar task.
Thanks in advance.
K. Gil
Ranch Hand

Joined: Apr 29, 2011
Posts: 75

Ranjan Hunt wrote:I am using apache tomcat 6.0.20 server and secure certificates from GoDaddy. I have created the keystore using root cerificate, 2 intermediate certs. and primary certificate and its key and deployed on the server. But, I am getting certificate error on accessing the secure URL of the application. After doin lots of googling, finally found a loop hole that "A valid Root CA Certificate could not be located, the certificate will likely display browser warnings"
Please help if anyone worked on the similar task.
Thanks in advance.


You may try to import your vendor root CA / chain certificate to java cacerts,
which is located inside your java dir / "jre/lib/security".
Remember to use keytool which came with your JDK installation
(some linux systems has keytool from java alternatives in the $PATH).

i.e.
cd to your JDK installation
cd jre/lib/security
../../bin/keytool -help

default cacerts password is: changeit

quick doc:
http://wiki.cacert.org/ImportRootCert#Java

good luck!
http://www.uki6.com

Java / Tomcat Hosting at http://goJava.net
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Certificate Chain Complete?
 
Similar Threads
certificate to establish a secured connection(SSL)
Certificate chaining error: issuer DN != subject DN
Configuring digital certificate in WAS 6.1
regarding cacerts from JAVA_HOME\jre\lib\security
Issue cnnecting to https using self-signed certificate