mq-container icon indicating copy to clipboard operation
mq-container copied to clipboard

custom mq image has empty certlabel in 9.1.3.0

Open ddanielorlano opened this issue 5 years ago • 0 comments

building a custom image results in an empty certlabel, which is misleading when running a docker container with mounted keys

DISPLAY CHANNEL(DEV.APP.SVRCONN)
     1 : DISPLAY CHANNEL(DEV.APP.SVRCONN)
AMQ8414I: Display Channel details.
   CHANNEL(DEV.APP.SVRCONN)                CHLTYPE(SVRCONN)
   ALTDATE(2020-04-06)                     ALTTIME(21.04.48)
   CERTLABL( )                             COMPHDR(NONE)
   COMPMSG(NONE)                           DESCR( )
   DISCINT(0)                              HBINT(300)
   KAINT(AUTO)                             MAXINST(999999999)
   MAXINSTC(999999999)                     MAXMSGL(4194304)
   MCAUSER(app)                            MONCHL(QMGR)
   RCVDATA( )                              RCVEXIT( )
   SCYDATA( )                              SCYEXIT( )
   SENDDATA( )                             SENDEXIT( )
   SHARECNV(10)                            SSLCAUTH(OPTIONAL)
   SSLCIPH(ANY_TLS12)                      SSLPEER( )
   TRPTYPE(TCP)    

The logs for when the container is starting

     Output for "runmqsc" with /etc/mqm/15-tls.mqsc:
	       : * Set the keystore location for the queue manager
	     1 : ALTER QMGR SSLKEYR('/run/runmqserver/tls/key')
	AMQ8005I: IBM MQ queue manager changed.
	     2 : ALTER QMGR CERTLABL('')
	AMQ8005I: IBM MQ queue manager changed.
	     3 : REFRESH SECURITY(*) TYPE(SSL)

docker file: FROM cp.icr.io/cp/icp4i/mq/ibm-mqadvanced-server-integration:9.1.3.0-r3-amd64

ddanielorlano avatar Apr 06 '20 21:04 ddanielorlano