Posted: Mon Oct 18, 2004 10:41 am Post subject: SSL C++ Client using only MQSERVER environment variable
Acolyte
Joined: 25 Aug 2004 Posts: 54
Hello -
I am trying to modify the sample c++ program imqswrld.cpp to utilize an SSL channel but can't seem to get it right.
I haven't tried setting up channel tables, but hope that I don't have to. My problem is that if I pass the program the 3'rd parameter which is the channel definition and, if I furthermore use the setSslCipherSpecification and setSslClientAuthentication methods of the channel definition, I get this error in the log:
AMQ9518: File '/var/mqm/AMQCLCHL.TAB' not found.
If I try to just have the program use the MQSERVER environment variable, there is no available channel reference in the QueueManager object that I can manipulate prior to attempting the connection.
Can this be done, or must I set up these channel table files?
Thanks much
Mike _________________ Michael J. Hubbard
You cant do SSL client connections using MQSERVER alone. You need to be able to set up a cipherspec, and that can only be done either with channel tables or mqconnx type connections
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