I'm following this guide:
But when I'm try to import the SSL certificate (issued by gandi.net), I get this error:
keytool error: java.lang.Exception: Failed to establish chain from reply
In this document there is a tip with a possible solution using Verisign or GoDaddy certificates, but I don't understand how to apply this solution.
Hi @Josep_Maria_Pinyol ,
this usually means that there is an intermediate certificate missing from the certificate you're trying to import into the keystore. Can you find in your Gandi interface something like a "full chain" or "intermediate" certificate ? This is what you should then import into the keystore.
Let me know if this helps,
Ok, finally I can import my certificate using these steps:
1. Import root certificate:
keytool -import -alias root -trustcacerts -file USERTrustRSACertificationAuthority.crt
2. Import intermediate certificate:
keytool -import -alias intermediate -trustcacerts -file GandiStandardSSLCA2.pem
3. And finally
keytool -import -alias tomcat -file <YOUR_CERTIFICATE.crt>
And works fine.
Thank you @Alexis Robert
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events