Keytool error: java.lang.Exception: Failed to establish chain from reply

follow it very carefully there are reasons why things were done in a certain way

Andrei