camel-wmq with SSL

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

camel-wmq with SSL

jjansen
Hi everybody,

does anybody have experience, connection to IBM-MQ using SSL and camel-wmq from apacheextras?

When trying the connection to MQManager, I receive the following response:

    2019-08-13 20:12:53,551 | ERROR | :TYPEX.XH.LHR_I2 | WMQComponent                     | 253 - gs-wmq - 19.1.6 | MQQueueManager {} on {}:{} (channel {})
      com.ibm.mq.MQException: MQJE001: CompletionCode '2', ReasonCode'2400'.

According to the documentation, this error should indicate an invalid CIPHER_SUITE.

But my configuration looks like that:
     connectionProperties.put(CMQC.SSL_SOCKET_FACTORY_PROPERTY, sslSocketFactory);
     connectionProperties.put(CMQC.SSL_CIPHER_SUITE_PROPERTY, "TLS_RSA_WITH_AES_256_CBC_SHA256");
     connectionProperties.put(CMQC.SSL_FIPS_REQUIRED_PROPERTY, false);

Also I'm setting the system-property:
     -Dcom.ibm.mq.cfg.useIBMCipherMappings=false

I'm using camel-2.16.5 with apache-servicemix and mq-libs 8.0.0.6.

I'm grateful for all help,
Joerg