This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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
 
Consider Paul's rocket mass heater.
 
subject: Certificate Chain Complete?