Resolving the error : "MQRC_UNSUPPORTED_CIPHER_SUITE" for MQ plugin applications

Resolving the error : "MQRC_UNSUPPORTED_CIPHER_SUITE" for MQ plugin applications

book

Article ID: KB0071278

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for IBM MQ 8.x

Description

When an MQ server is configured to accept a TLS connection using a particular cipher suite, the MQ plugin will throw an error - MQRC_UNSUPPORTED_CIPHER_SUITE during the Test Connection at design time or when the application is deployed.

Environment

BW 6.x, BWCE 2.x

Resolution

This error occurs when the MQ plugin is unable to fetch the configured cipher at the MQ server.
Follow the below resolution steps.

1. For Running the applications on BW Studio.
Add the property "-Dcom.ibm.mq.cfg.useIBMCipherMappings=false" in the VM arguments section.

2. When using the Test connection at design time.
Add the property "-Dcom.ibm.mq.cfg.useIBMCipherMappings=false" in the TIBCOBusinessStudio.ini file and restart the studio.

3. When deploying the application on TEA 
Add the property "com.ibm.mq.cfg.useIBMCipherMappings=false" in the AppNode config file and restart the app.

4. When deploying the application on the docker
Add the property "com.ibm.mq.cfg.useIBMCipherMappings=false" in the appnode_config.ini file. First, unzip the BWCE_runtime.zip edit the file, and re-zip before creating a base image.

5. If the error still persists, then download the JCE unlimited ciphers from the below link and replace the exisiting ones under the location tibcojre64\1.8.0\lib\security\policy and restart the studio or TEA application.
For docker, unzip the BWCE_runtime.zip, replace the cipher policies as mentioned above, re-zip, and proceed to create a base image.
https://www.oracle.com/java/technologies/javase-jce-all-downloads.html

Issue/Introduction

The error "MQRC_UNSUPPORTED_CIPHER_SUITE" is encountered while using TLS configuration to connect to the MQ server.

Additional Information

https://docs.tibco.com/pub/bwmq/8.7.0/doc/html/GUID-906D11D5-8815-476A-AAF4-A69F47075507.html