Glad to hear it.
Indeed, full certificate chain is needed as it contains certificates from the top (highest Certification Authority) to the bottom (server cert).
Original Message:
Sent: Mon June 17, 2024 03:33 AM
From: Roshni Cherian
Subject: [Support]: Unable to create a MQ connection.
Hi ,
I could successfully connect to MQ connection .
Queue Manager - <<give the queue manager name>>
Channel Name - CLOUD.ADMIN.SVRCONN
Transport Type - TCP
Connection Name - <<hostname(port)>> eg: qmgr.appd.domain.coon(20364)
Credentials - User or app credential (equal to what was set in web UI)
SSL Connection - Check (Enable it)
Server SSL connection - Download the public certificate from the web UI and give the whole content of pem file.
This connection setting should work.
Thanks a lot !!
------------------------------
Roshni Cherian
Original Message:
Sent: Fri June 14, 2024 11:25 AM
From: Roshni Cherian
Subject: [Support]: Unable to create a MQ connection.
Hi Michal
Thanks for you response. I did add port and the SSL pem certificate also.
getting the below error:-
![](https://dw1.s81c.com//IMWUC/MessageImages/ca6121564b8b4084b1a1ab690d727957.png)
Anything that you can suggest here?
for the Server SSL certificate - I provided the first chunk of data from PEM file which is between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----
Client SSL certificate and Client SSL key left blank (Is this correct?)
------------------------------
Roshni Cherian
Original Message:
Sent: Thu June 13, 2024 03:58 PM
From: Michal Zarakowski
Subject: [Support]: Unable to create a MQ connection.
There are few things:
1. Connection property should be in form of:
<hostname>(<portNumber>)
Both values can be found in either text file or JSON file downloaded from web UI
2. Not visible in the screenshot - SSL should be enabled and server certificate chain (PEM format) should be provided. It can be downloaded from MQ Queue Manager details in cloud.
3. Queue manager name is case sensitive.
4. I assume user (or app) credentials are correct - equal to what was set in web UI
------------------------------
MICHAL ZARAKOWSKI
Original Message:
Sent: Wed June 12, 2024 07:12 AM
From: Roshni Cherian
Subject: [Support]: Unable to create a MQ connection.
I have created a MQ instance in IBM cloud and created a Queue manager. Able to put test message via IBM cloud MQ console .
However the MQ connection is not successful when a connection asset is created in CP4D.
Appreciate if any one could throw some light on thi .
The error is: The assets request failed: Connection failed: {"failure_message":"Connect to queue manager using channel failed with reason code: 2538 (UNKNOWN CODE)","status":"failure"}
PFB the configuration .
![](https://dw1.s81c.com//IMWUC/MessageImages/5d2146871c064bcba3a7e2d76c6262c4.png)
![](https://dw1.s81c.com//IMWUC/MessageImages/9bf513afd3f94b16947f3c0e1ac16fff.png)
------------------------------
Roshni Cherian
------------------------------