Hi Mike,
The error you are seeing:-
AMQ9641: Remote CipherSpec error for channel 'CLOUD.APP.SVRCONN' to host
tells me that you don't have the same CipherSpec configured at both ends of your CLOUD.APP.SVRCONN
channel.
One end of the channel is defined on your queue manager, as a CHANNEL object with a type of SVRCONN. The SSLCIPH parameter will contain a string with the name of the CipherSpec that you have selected.
If you review your queue manager's error log you will see an error message detailing more about the failure. There can be several possible reasons, mismatch or missing on one end or the other, as detailed here: https://www.ibm.com/docs/en/ibm-mq/9.4.x?topic=problems-troubleshooting-tls
You don't say where the tutorial you are following can be found, so I can't see the instructions you are following, but this one might be useful for you: https://developer.ibm.com/tutorials/mq-secure-msgs-tls/
In that tutorial, their SVRCONN is using the SSLCIPH(ANY_TLS12_OR_HIGHER)
which should mean that anything the client side of the channel chooses is likely to work.
I assume your client application is a Spring Boot / JMS application going by your thread title, but you haven't said anything more about how you are configuring the details of that. Where you are putting the TLS configuration for that side of things? Are you using a CCDT or using the application.properties
file or application.yml
file? What value did you use?
With a bit more information about what you have done, or even just showing us the instructions you are following, will help us to help you more.
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website:
https://www.mqgem.com------------------------------
Original Message:
Sent: Thu June 26, 2025 12:41 PM
From: Mike Baranski
Subject: Documentation / QuickStart for IBM Cloud and Spring Boot / JMS
I found an IBM MQ tutorial for Spring Boot, but it's only for a deployed-to-Docker image and not the ibm cloud version.
I followed it and setup a cloud instance, but I get: `CC=2;RC=2397;AMQ9641: Remote CipherSpec error for channel 'CLOUD.APP.SVRCONN' to host ''. [3=CLOUD.APP.SVRCONN]`
I can't run locally because even though IBM gives me an ARM laptop they don't have ARM docker images...
The cloud docs are not clear on what is wrong or how to fix this issue (or the other issues I've had, for that matter).
I would expect to be able to get this connected in a couple of minutes, but we're at several hours now with no good help resources.
Can someone point to a tutorial or guide that explains how to setup and connect an app to an IBM MQ instance on the cloud?
------------------------------
Mike Baranski
------------------------------