This example sets up MQ WebSphere with CA Top Secret generated signed certificates:
TSS GENCERT(MQCHIN1) DIGICERT(MCI1CERU)
SUBJECTN('O="COMPANYA" CN=" MQCHIN1
cert" OU="SYSTEMSDEPT" C="US" ')
LABLCERT('MCI1CERU')
A certificate is generated where:
TSS ADD(dept) IBMFAC(IRR.DIGTCERT) <---(skip if previously done)
TSS PER(acid) IBMFAC(IRR.DIGTCERT.LISTRING)
ACCESS(UPDATE)
TSS PER(acid) IBMFAC(IRR.DIGTCERT.LIST)
ACCESS(UPDATE)
TSS PER(acid) IBMFAC(IRR.DIGTCERT.GENCERT)
ACCESS(UPDATE)
The ACID is authorized to read digital certificates.
TSS GENREQ(MQCHIN1) DIGICERT(MCI1CERU)
DCDSN('MQCHIN1.UNSIGNED.CERT')
The certificate is copied to a dataset in PKCS#10 format.
TSS ADD(MQCHIN1) DIGICERT(MCI1CERS)
DCDSN('MQCHIN1.SIGNED.CERT')
LABLCERT('ibmWebSphereMQCSQ1')
TRUST
The certificate is stored on the CA Top Secret Security File where:
Note: LABLCERT must be 'ibmWebSphereMQxxxx' where 'xxxx' is the MQ channel initiator.
TSS ADD(MQCHIN1) KEYRING(MCI1RING)
LABLRING(MCI1RING)
The MQ Channel Initiator's KEYRING is created.
TSS ADD(MQCHIN1) KEYRING(MCI1RING)
RINGDATA(MQCHIN1,MCI1CERS)
USAGE(PERSONAL)
DEFAULT
The certificate is added to the KEYRING.
TSS EXPORT(MQCHIN1) DIGICERT(MCI1CERS)
DCDSN('MQCHIN1.SIGNED.CERT')
LABLCERT(MCI1CERS)
The certificate is exported to the 'MQCHIN1.SIGNED.CERT'.dataset.
ALTER QMGR SLKEYR(MCI1RING)
The queue manager's KEYRING is specified.
TSS ADD(CERTAUTH) DIGICERT(MCI1CA)
DCDSN('MQCHIN1.CERT.AUTH')
The Certificate Authority is added to CERTAUTH.
TSS ADD(MQCHIN1) KEYRING(MCI1RING)
RINGDATA(CERTAUTH,MCI1CA)
USAGE(CERTAUTH)
The Certificate Authority is added to the MQ Channel Initiator's KEYRING.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|