How to display and change SSLPEER values

This section details how you can display the SSLPEER values that you have set and gives an example of how to change them.

Ensure that the queue manager you are changing the SSLPEER values for is running.
  1. Start the WebSphere® MQ command processor. You can do this by entering runmqsc queueManager at a command prompt where queueManager is the name of the queue manager you want to work with.
  2. Display the SSLPEER value for each channel defined on the queue manager. You can do this by entering
    DIS CHL(*) CHLTYPE SSLPEER
    The output should look similar to this:
    AMQ8414: Display Channel details.
    CHANNEL(SYSTEM.DEF.SENDER) CHLTYPE(SDR) SSLPEER( )
    AMQ8414: Display Channel details.
    CHANNEL(SYSTEM.DEF.SERVER) CHLTYPE(SVR) SSLPEER( )
    AMQ8414: Display Channel details.
    CHANNEL(TO.QM7) CHLTYPE(CLNTCONN) SSLPEER(CN='QM7', O='IBM', C='GB', 
                    L='Hursley', OU='MQ', OU='Middleware', OU='Software Group')1
    AMQ8414: Display Channel details.
    CHANNEL(TO.QM8) CHLTYPE(SVR) SSLPEER(CN='QM2', O='IBM', C='GB', 
                    L='Hursley', OU='MQ', OU='Middleware', OU='Software Group')1
  3. Where the installation is from WebSphere MQ Version 5.3 Fix Pack 7 or earlier and the SSLPEER values contain multiple organizational unit names (OUs), you will need to reverse the order of these names. You can use the MQSC or the WebSphere MQ Explorer graphical interface to do this. For example, to change the SSLPEER value for the client-connection channel definition 'TO.QM7' in the above example, at the WebSphere MQ command processor prompt, enter
    ALTER CHL(TO.QM7) CHLTYPE(CLNTCONN) SSLPEER(CN='QM7', O='IBM', C='GB', 
                    L='Hursley', OU='Software Group', OU='Middleware', OU='MQ')1
    Note: 1. These lines have been deliberately split to ensure they fit on the page. In the command line interface, all of these should appear on a single line unless the display forces them to wrap on the screen.