aspose 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 Spring in Action this week in the Spring 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: 61426
    
  67

"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 ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cannot install ROOT certificate