File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Cannot  install ROOT certificate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Cannot  install ROOT certificate" Watch "Cannot  install ROOT certificate" New topic
Author

Cannot install ROOT certificate

Joah Nguyen
Greenhorn

Joined: Aug 29, 2003
Posts: 5
I am trying to import the root certificate but I am getting the error...

Error:
keytool error: java.lang.Exception: Input not an X.509 certificate

Syntax:
/usr/java/jdk1.5.0/bin/keytool -import -trustcacerts -
alias root -file rootca.cer -keypass changeit -keystore .keystore2
-storepass changeit

I am running Tomcat5.5.12....I am not sure what this error refers to and I have used this code straight from a Tomcat Security Book. I appreciate the help.

Please help.
Thanks


Johnny Apple Seed
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

"Mr. T",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Joah Nguyen
Greenhorn

Joined: Aug 29, 2003
Posts: 5
Completed! Sorry bout that
[ December 02, 2005: Message edited by: Joah Nguyen ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot install ROOT certificate
 
Similar Threads
SOAP over HTTPS / SSL
Certificate Chain Complete?
[Update - Success] Adding SSL certificate to Server.xml
Keytool import problem
Error trying to import CA Certificate