Service Virtualization

  • 1.  Getting SSL shakeout error when a test case is deployed on CVS

    Posted Mar 20, 2017 12:11 AM

    I have created a Test Case, which will put messages in IBM MQ. I have created an MQ asset and added "SSL context". When I run the test case in ITR, I am able to put the messages in MQ. But when I stage the Test case, I am getting following error.

     

    Error Message:

    Completion Code 2 (MQCC_FAILED), Reason Code 2397 (MQRC_JSSE_ERROR)
    Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2397;AMQ9771: SSL handshake failed. [1=javax.net.ssl.SSLHandshakeException[No appropriate protocol (protocol is disabled or cipher suites are inappropriate)],
    3=aude2mq025nabri.basdev.aurdev.national.com.au/10.40.36.197:1414 (aude2mq025nabri.basdev.aurdev.national.com.au),4=SSLSocket.startHandshake,5=sun.security.ssl.SSLSocketFactoryImpl@27052f9c]       
    at com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection.protocolConnect(RemoteTCPConnection.java:995)        at com.ibm.mq.jmqi.remote.internal.system.RemoteConnection.connect(RemoteConnection.java:989)       
    at com.ibm.mq.jmqi.remote.internal.system.RemoteConnectionPool.getConnection(RemoteConnectionPool.java:293)        at com.ibm.mq.jmqi.remote.internal.RemoteFAP.jmqiConnect(RemoteFAP.java:1371)       
    at com.ibm.mq.MQSESSION.MQCONNX_j(MQSESSION.java:924)        at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:224)


  • 2.  Re: Getting SSL shakeout error when a test case is deployed on CVS
    Best Answer

    Posted Mar 20, 2017 09:17 AM

    Hi,

     

    you will need to follow the steps as described here https://communities.ca.com/docs/DOC-231165665 and perform them on your CVS server, probably you have already did the same steps on your local machine so your test in ITR is working. Based on the error, you will probably need to follow section 4.5 and edit your java.security file.

     

    Regards,

    Jan