Verifying Queue Managers SSL Configuration with MQCERTCK.Tweet
MQCERTCK is the updated version of the MH03 SupportPac that
is now included in MQ as of version 8.0.0.4. MQCERTCK is a tool to look
for common mistakes in your Queue Manager’s SSL configuration and
provides recommendations for resolving problems. It will check:
It is available on all Distributed platforms and the MQ
Appliance but is not available currently on z/OS or IBMi, additionally
the messages written out by MQCERTCK are available in English only.
Usage
In order to use the new MQCERTCK tool execute “mqcertck”
with its required parameters using a command line which has been
configured with the MQ v8.0.0.4 environment. MQCERTCK takes the
following parameters:
mqcertck
Where:
Since no additional software, such as user-applications,
can be run on the IBM MQ Appliance, the –clientkeyr, -clientchannel,
-clientusername, -clientlabel and –clientport parameters and associated
functionality are not available when running MQCERTCK on the MQ
Appliance.
Example Usage
Alice has just finished setting up her Queue Manager QM1 to
allow SSL Connections from clients connecting to its SVRCONN channel.
Alice is using the new multiple certificates feature and so both her
Queue Manager and Channel have a Certificate label specified in their
CERTLABL attributes. While creating the channel Alice has made a mistake
in her Channel’s CERTLABL attribute and so when a client attempts to
connect the Queue Manager will return a 2393 MQRC
mqcertck QM1
MQCERTCK shows the error message:
Which prompts Alice to check her Channel Definition for
the CLIENT.CONNECTION channel, here she is able to see the error she
made and quickly connect it before running MQCERTCK again to verify the
problem has been resolved.
Verifying Client Connections
Since no additional software, such as user-applications,
can be run on the IBM MQ Appliance, the following MQCERTCK feature is
not available on the IBM MQ Appliance
MQCERTCK has the ability to verify client key repositories
as well as the Queue Manager’s SSL Configuration. To do this MQCERTCK
needs to be able to access the Client’s key repository from the machine
running the Queue Manager. When running MQCERTCK if you supply the
–clientkeyr parameter with the location of the client key repository
(excluding the extension) MQCERTCK will check this key repository
against the Queue Manager. If you know which channel the client will be
connecting to the Queue Manager via you can specify this with the
–clientchannel flag. If the client will be using mutual authentication
to connect to the Queue Manager you can use the –clientusername or
–clientlabel parameter to tell MQCERTCK which certificate to use in the
client key repository. If you are using the default certificate and not
supplying a certificate label to the client application then you can use
–clientusername and the username which will run the application, during
MQCERTCK’s operation it will generate the certificate label “ibm
In order to fully verify the client key repository MQCERTCK
will create a dummy connection using GSKit. To do this it needs to have
a port available that it can bind to during its client tests. The
default port used is 5857 however if this is already in use then you can
specify a different port to be used during the client tests. Although
MQCERTCK will bind to a port, no external communications will be used by
MQCERTCK and all tests will be performed locally.
|
MQ Series: - It is an IBM web sphere product which is evolved in 1990’s. MQ series does transportation from one point to other. It is an EAI tool (Middle ware) VERSIONS:-5.0, 5.1, 5.3, 6.0, 7.0(new version). The currently using version is 6.2 Note: – MQ series supports more than 35+ operating systems. It is platform Independent. For every OS we have different MQ series software’s. But the functionality of MQ series Default path for installing MQ series is:- C: programfiles\BM\clipse\SDK30 C: programfiles\IBM\WebsphereMQ After installation it will create a group and user. Some middleware technologies are Tibco, SAP XI. MQ series deals with two things, they are OBJECTS, SERVICES. In OBJECTS we have • QUEUES • CHANNELS • PROCESS • AUTHENTICATION • QUERY MANAGER. In SERVICES we have LISTENERS. Objects: – objects are used to handle the transactions with the help of services. QUEUE MANAGER maintains all the objects and services. QUEUE: – it is a database structure
Comments
Post a Comment