Wednesday, September 16, 2009

MQ SSL

If you want to run your JMS test from any server to test you MQ SSL config, this is what I did to make it work:

1) get a JMS program from hursley named sslConn.java
2) add it to your MQ Server. I put it on my server: dqm02:/net/nfswmq/opt/mqm/mqseries/SunOS/SSL/samp
3) edit the file directly to reflect your queue, channel and qmgr names
4) edit the CIPHER SUITE properties
5) add the correponding cipherspec to your channel name
3) compile it with: javac sslConn.java
4) run it with: java sslConn
5) it should output what you wrote to the queue.
6) browse the queue to make sure it landed there.

Troubleshooting: Basic MQ Troubleshooting. All the standard errors show up on the client and qmgr side in /var/mqm/errors. Also check the QMGR side on /var/mqm/qmgrs/QMGR/errors