aspose file tools*
The moose likes Security and the fly likes Keytool Exception: Failed to establish the chain-[Need Help] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Keytool Exception: Failed to establish the chain-[Need Help]" Watch "Keytool Exception: Failed to establish the chain-[Need Help]" New topic
Author

Keytool Exception: Failed to establish the chain-[Need Help]

Mouza Ali
Ranch Hand

Joined: Oct 28, 2008
Posts: 39
Hi all,

I'm trying to create a self signed certificate and make it as a root CA. Then, I create another certificate and sign it with that root CA. However, there was a problem while importing the certificate to the server keystore.

Below are the steps -[Which I found online], and I'll show where the error incured:

-------------------------------------------------------------------
Setting up the root CA
-------------------------------------------------------------------


-------------------------------------------------------
setting up the server now
-------------------------------------------------------



The error was in the last line of the commands. It should print something like: Certificate reply was installed in keystore
But instead it prints: Keytool Exception: Failed to establish the chain !!

Please can anyone help? All the solutions I found online are related to real CAs like verisign and thawt, but here I'm trying to create my own CA.
I'm wasting too much time on this problem and couldn't find anything
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Keytool Exception: Failed to establish the chain-[Need Help]