IBM Support

Collect WebSphere MQ MustGather data to solve TLS channel problems on HP NonStop Server

Troubleshooting


Problem

A WebSphere MQ queue manager or incoming client connection is failing to establish a secure channel using TLS (formerly SSL), and you need to collect MustGather data to find a solution.

Environment

These instructions apply only to WebSphere MQ V5.3.1 and V5.3 on HP NonStop Server. Refer to the IBM MQ Read First page for instructions on other operating systems:

Resolving The Problem

Please answer these questions about the problem and then follow the steps below:

  • What TLS channel problem did you observe on the system?
  • What time did the TLS channel problem start and when did it stop?
  • Which specific channels and certificates are involved in the problem?


Step 1: Generate Data


If the TLS channel problem is reproducible or is happening right now, generate data to provide more information about the problem:




  1. If the problem occurs when starting a sending channel, generate a trace of the queue manager showing the channel start attempt.


  2. Generate MQ trace simultaneously at the other end of the channel:




Step 2: Collect Data


  1. Record the MQ version and maintenance level.


  2. Record the operating system version and maintenance level.


  3. From a Guardian prompt, display the VPROC output from the MQ amqcctca and amqcctca_r files:

    1. Displaying the WebSphere MQ communications library VPROC output


      TACL> VPROC AMQCCTCA
      TACL> VPROC AMQCCTCA_R


  4. List the contents of the queue manager ssl directory. Guardian users should run the osh TACL command to switch to the OSS environment first and then source the var/mqm/wmqprofile script in order to use WebSphere MQ commands. For example:

    1. Displaying the key store directory for queue manager QMA


      osh> . /path/to/var/mqm/wmqprofile
      osh>  cd /path/to/var/mqm/qmgrs/QMA/ssl
      osh>  ls -al


  5. Display the WebSphere MQ CA certificates, securely passing your actual trust store password as suggested in the following example:

    1. Displaying the WebSphere MQ CA certificates


      osh> openssl x509 -noout -in /path/to/var/mqm/qmgrs/QMA/ssl/trust.pem -passin file:<(echo -n "passw0rd") -issuer -subject -dates


  6. Display the WebSphere MQ personal certificates, securely passing your actual certificate store password as suggested in the following example:

    1. Displaying the WebSphere MQ personal certificates


      osh> openssl x509 -noout -in /path/to/var/mqm/qmgrs/QMA/ssl/cert.pem -passin file:<(echo -n "passw0rd") -issuer -subject -dates


  7. Use runmqsc to record your queue manager, queues, channels and channel status information. If any command gives an error, carry on with the others:

    1. DISPLAY QMGR ALL
      DISPLAY QLOCAL(*) ALL
      DISPLAY QALIAS(*) ALL
      DISPLAY QREMOTE(*) ALL
      DISPLAY CHANNEL(*) ALL
      DISPLAY CHSTATUS(*) ALL


  8. Use the sdcp script to package your files for IBM, including files containing the output from the commands listed in Step 1 and 2.



Step 3: Send Data to IBM


  1. Send your data to the IBM ECuRep repository by email to websphere_support@ecurep.ibm.com, or by standard or secure HTTP or FTP.


  2. While the data is transferring, send an email or use the IBM Service Request tool to update your PMR with your description of the problem and of the data you are sending.



  3. Contact your country representative if you need to speak to an IBM technical support representative, or in the US call 1-800-IBM-SERV. Refer to the IBM Software Support Handbook for more information on working with IBM.

[{"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Problem Determination","Platform":[{"code":"PF010","label":"HP-UX"}],"Version":"5.3.1;5.3","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

WebSphere MQ WMQ

Document Information

Modified date:
22 June 2018

UID

swg21293920