Skip to content

Commit

Permalink
Backporting PR708 & PR709 to 9.3.0 wherever applicable (#716)
Browse files Browse the repository at this point in the history
* Update JMSTests.java

* Replacing SSL cipher as suggested by Rob

* Chaning to *TLS12ORHIGHER
  • Loading branch information
vgavinash authored and GitHub Enterprise committed Oct 14, 2024
1 parent 96cb678 commit 84be4a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ static MQConnectionFactory createMQConnectionFactory(String channel, String addr
boolean ibmjre = System.getenv("IBMJRE").equals("true");
if (ibmjre){
System.setProperty("com.ibm.mq.cfg.useIBMCipherMappings", "true");
factory.setSSLCipherSuite("SSL_RSA_WITH_AES_128_CBC_SHA256");
factory.setSSLCipherSuite("*TLS12ORHIGHER");
} else {
System.setProperty("com.ibm.mq.cfg.useIBMCipherMappings", "false");
factory.setSSLCipherSuite("TLS_RSA_WITH_AES_128_CBC_SHA256");
factory.setSSLCipherSuite("*TLS12ORHIGHER");
}
}
return factory;
Expand Down

0 comments on commit 84be4a0

Please sign in to comment.