keytool error: java.lang.Exception: Failed to establish chain from reply
The cause of this error
This error occurs if
- the correct root certificate is not imported to the keystore
- the correct intermediate certificate is not imported to the keystore
The root cause is when you are going to import the signed certificate it checks whether it can create a chain from issuer and subject parameters in the imported certificate.
The solution is to
Import the correct root and intermediate which is compatible with the CA and the certificate type. For and example if you are using VeriSign you can find all the intermediate and root certificates from here.
No comments:
Post a Comment