IBM Support

Configuring IBM MQ for anonymous access with RIT

Question & Answer


Question

How do you configure IBM WebSphere MQ 8 to support anonymous access?

Cause

This is sometimes necessary if an IBM Rational Integration Tester (RIT) project is to be shared without containing Windows security credentials, or if a RIT project previously used with IBM MQ 6 must now be used with IBM MQ 7.1 or above.

Answer

Security Warning

These instructions are intended only for test systems containing non-confidential data since after these steps are taken anonymous access to the IBM MQ instance is possible.

Configuration Steps


For a queue manager name QM_Primary the following commands can be used to enable a connection to be established with these anonymous credentials. Note the blank username and password.
    Host: <hostname>
    Port:1414
    Channel: SYSTEM.ADMIN.SVRCONN
    Queue Manager: QM_Primary
    Username:
    Password:
    Application Name: GHC MQ Transport
    Application Type: MQSeries Client
    Properties: (none)

Launch MQSC specifying the queue manager. e.g. On Windows:
    CD C:\Program Files\IBM\WebSphere MQ\bin

    RUNMQSC QM_Primary

Modify the security settings (on any operating system):
    ALTER QMGR CHLAUTH(DISABLED)

    ALTER AUTHINFO(SYSTEM.DEFAULT.AUTHINFO.IDPWOS) AUTHTYPE(IDPWOS) CHCKCLNT(OPTIONAL)

    REFRESH SECURITY TYPE(CONNAUTH)

    EXIT

Further Information

This video is a useful introduction to unblocking MQ Security without permitting anonymous access, and also shows how to read the MQ logs.

[{"Product":{"code":"SSBLQQ","label":"IBM Rational Test Workbench"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Rational Integration Tester","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.0;8.5;8.6","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 July 2019

UID

swg21693761