Sunday, May 31, 2015

JMSWMQ2020: Failed to connect to queue manager

JMSWMQ2020: Failed to connect to queue manager
-----------------------------------------------
Cause : reason code 2397 comes when SSL is enabled between MQ client and server but SSL handshake is not successful due to expired or mismatched certificates e.g. different signer.

Solution : add proper certificates in both MQ client and server. If you are using Java to connect to MQ then you also need to add correct certificates on keystore and truststore.