DEVTEST Certificate trust warning issue from WS to server
search cancel

DEVTEST Certificate trust warning issue from WS to server


Article ID: 136158


Updated On:


CA Application Test Service Virtualization


How to accept and continue when certificate warning message appears for HTTPS.  The WebService step tried to send a message to the Server  but the connection was closed after that.

[ 1] %% Invalidated: [Session-1, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384]
[ 1] Thread-119, SEND TLSv1.2 ALERT: fatal, description = certificate_unknown
[ 1] Thread-119, WRITE: TLSv1.2 Alert, length = 2
[ 1] Thread-119, called closeSocket()
[ 1] Thread-119, handling exception: PKIX path building failed: unable to find valid certification path to requested target
[ 1] Thread-119, called close()
[ 1] Thread-119, called closeInternal(true)


All supported DevTest releases.


The call timeout in Web Service Execution step was set to 10ms.. which is by default about 30,000ms

Due to which after invocation we are getting below Exception: org.apache.http.conn.ConnectTimeoutException: Connect to timed out

It is found that during troubleshooting stage, "Web Service Execution" step invocation these parameters are getting added to clientParams. http.socket.timeout="10" http.connection.timeout="10" And the timeout errors were thrown.


Add this in file of Workstation machine https.protocols=TLSv1.2

Restart workstation.

Also, in the Web Service Execution step, change call timeout to 10,000ms