Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ Client connecting to IBM MQ over SSL

I need to change the C++ code to connect with WebSphere MQ using Client Channel defnition table. There are about 5000+ MQ clients and 10 MQ Servers on Windows 2003 with v6.0. Please help me if any one using C++ with CCDT.

like image 688
Nikhil Avatar asked Nov 05 '22 12:11

Nikhil


1 Answers

Set the MQCHLLIB and MQCHLTAB environment variables to point to the channel table as described in "Using WebSphere MQ environment variables." Next, set SSLKEYR as described in the same section of the manual. These will allow the app to find the CCDT and the KDB files. Be sure that the CCDT contains channel definitions which specify the right SSLCIPH and then connect as usual. No code changes should be required.

A word of advice, use the WMQ v7 client, even though the server is at v6. The client is backward compatible as long as you do not try to use the v7 features like automatic reconnect. However, v6 is end-of-life next year and if you want to avoid retesting and redeployment - or running an unsupported version - deploy as much as possible on v7 components.

like image 160
T.Rob Avatar answered Nov 12 '22 09:11

T.Rob