Service Virtualization

Expand all | Collapse all

SSL Handshake Exception while scheduling the tescase via CVS

  • 1.  SSL Handshake Exception while scheduling the tescase via CVS

    Posted Feb 12, 2018 07:37 AM

    I tried scheduling a test case in CVS. After scheduling it is getting executed but always fails with SSL handshake error.

    But when the same test case is executed via ITR, it is getting executed as expected with out any SSL keystore file(even though the endpoint is https).

     

    Kindly help me to resolve ?

    Error Response:

    nested exception is:
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure,

     


    ============================================================================
    | AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)



  • 2.  Re: SSL Handshake Exception while scheduling the tescase via CVS
    Best Answer

    Posted Feb 12, 2018 10:27 AM

    Hello Kavitha,

     

    Is the HTTPS endpoint expecting client authentication - 2-way SSL? If yes, do you know if the client key is being deployed in CVS? You can check in the MARI (MAR info) file if the key is included.

    You can also verify if there is any property in the local.properties of your Workstation that is not included in the local.properties of your Simulator.

     

    Hope it helps,

    Heloisa