• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin

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

Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic