Posted: Sun Dec 02, 2018 5:43 am Post subject: Cannot recover key
Voyager
Joined: 05 Sep 2014 Posts: 76
I am using HTTPRequest node in my message flow to make secured webservice calls. I have a JKS files having appropriate key and certificates and have registered them with broker using the following commands.
mqsichangeproperties IB9NODE -o BrokerRegistry -n brokerKeystoreFile -v [PATH TO MY KEYSTORE FILE]
mqsichangeproperties IB9NODE -o BrokerRegistry -n brokerTruststoreFile -v [PATH TO MY TRUSTSTORE FILE]
The keystore JKS file has only one key and I use it's alias name under HTTPRequest node SSL settings. This works fine and my message flow executes smoothly.
However, if I add one more key into my keystore JKS file with a different alias name, my message flow fails and I get the following exception.
SocketException BIP3165S: An error occurred whilst performing an SSL socket operation. Operation: 'setSSLOptions'. Error Text: 'java.security.UnrecoverableKeyException: Cannot recover key'.
What could be going wrong here ? Please provide your kind assistance on it..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum