Skip to Content
Apr 23, 2020 at 02:02 PM

Error while connecting to WMQ sever using SSL security


Dear Experts,

We are experiencing below error in Sender channel logs:

Error creating JMS connection. The JMS provider gave the error message as JMSWMQ0018: Failed to connect to queue manager 'XXXXX' with connection mode 'Client' and host name '10.XX.XX.XX(1413)'. JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2393' ('MQRC_SSL_INITIALIZATION_ERROR')., and the error code as JMSWMQ0018.

And while capturing the XPI trace , we find below:

Begin IAIK Debug:
ssl_debug(30): Starting handshake (iSaSiLk 5.2)...
ssl_debug(30): Sending v3 client_hello message to 10.XX.XX.XX:1413, requesting version 3.3...
ssl_debug(30): Sending extensions: renegotiation_info (65281), signature_algorithms (13)
ssl_debug(30): Received v3 server_hello handshake message.
ssl_debug(30): Server selected SSL version 3.3.

ssl_debug(30): ChainVerifier: Found a trusted certificate, returning true
ssl_debug(30): Received certificate_request handshake message.
ssl_debug(30): Accepted certificate types: RSA, DSA, ECDSA
ssl_debug(30): Supported signature algorithms:
ssl_debug(30): SHA512withRSA, SHA384withRSA, SHA256withRSA, SHA224withRSA, SHA1withRSA, SHA512withECDSA, SHA384withECDSA, SHA256withECDSA, SHA224withECDSA, SHA1withECDSA, SHA1withDSA
ssl_debug(30): Accepted certificate authorities:
ssl_debug(30): CN= Root CA,OU=,O=Government of Singapore Investment Corporation Pte Ltd,L=Singapore,ST=Singapore,C=SG,
ssl_debug(30):,CN=,OU=O= Pte Ltd,L=SG,ST=SG,C=SG
ssl_debug(30): Received server_hello_done handshake message.
ssl_debug(30): No client certificate available, sending empty certificate message...
ssl_debug(30): Sending client_key_exchange handshake...
ssl_debug(30): Sending change_cipher_spec message...
ssl_debug(30): Sending finished message...
ssl_debug(30): Received change_cipher_spec message.
ssl_debug(30): Received finished message.
ssl_debug(30): Session added to session cache.
ssl_debug(30): Handshake completed, statistics:
ssl_debug(30): Read 4646 bytes in 3 records, wrote 458 bytes in 4 records.
ssl_debug(30): Shutting down SSL layer...
ssl_debug(30): Sending alert: Alert Warning: close notify
ssl_debug(30): Read 0 bytes in 0 records, 0 bytes net, 0 average.
ssl_debug(30): Wrote 0 bytes in 0 records, 0 bytes net, 0 average.
ssl_debug(30): Closing transport...
ssl_debug(30): Closing transport...

I am using Cipher spec : TLS_RSA_WITH_AES_256_CBC_SHA256

Kindly help me to resolve this issue.