It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Problem with SSL certificate


I'm following this guide:

But when I'm try to import the SSL certificate (issued by, 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.

Any idea?

Thank you,

Josep Maria


1 answer

1 accepted

0 votes
Answer accepted
Alexis_Robert Community Leader Nov 10, 2019

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 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

276 views 9 6
Join discussion

Community Events

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

Events near you