AnsweredAssumed Answered

SSL Handshake issue

Question asked by Balamuruganravir on Jul 18, 2018
Latest reply on Jul 27, 2018 by Tushar Ranjan

Hi Team,

 

I am trying to connect with secured (https) rest endpoint , but i am getting the below exception. I used the HTTP Request-HTTP GET  step in Devtest 10.3.0 workstation and configured the ssl keystore(.jks) file and verified it successfully. also added this https.protocols=TLSv1.1TLSv1.2 property in workstation local.property file.

 

ITR Execution Result

============================================================================
| HTTP
============================================================================
| Step: http GET
----------------------------------------------------------------------------
| Message: java.lang.NullPointerException
----------------------------------------------------------------------------
| Trapped Exception: null
| Trapped Message: java.lang.NullPointerException
----------------------------------------------------------------------------
STACK TRACE
java.lang.NullPointerException
at com.itko.lisa.test.Environment.buildSslScheme(Environment.java:2358)
at com.itko.lisa.test.CommTrans.setSSLCertInfo(CommTrans.java:727)
at com.itko.lisa.test.URLTrans.doWebTrans(URLTrans.java:214)
at com.itko.lisa.test.URLTransBase.execute(URLTransBase.java:491)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:984)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1297)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1115)
at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:73)
at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:1017)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)
at java.lang.Thread.run(Thread.java:745)
============================================================================

HTTP/SSL Debug information 

[ 12] [SSL Handshake Summary] Thread [TcpSocketClose: java.util.concurrent.ThreadPoolExecutor$Worker@258992b5[State = -1, empty queue]]
[ 12] [SSL Handshake Summary] Can not be sure if Client or Server
[ 12] [SSL Handshake Summary] *†‡ indicates linked optional steps
[ 12] [SSL Handshake Summary]
[ 12] [SSL Handshake Summary] 1 UNKNOWN Client Hello -->
[ 12] [SSL Handshake Summary] 2 UNKNOWN <-- Server Hello
[ 12] [SSL Handshake Summary] 3* UNKNOWN <-- Server Certificate (Public Key)
[ 12] [SSL Handshake Summary] 4† UNKNOWN <-- Request Client Certificate
[ 12] [SSL Handshake Summary] 5* UNKNOWN Verify and Trust Server Certificate v
[ 12] [SSL Handshake Summary] 6‡ UNKNOWN <-- Server Key Exchange
[ 12] [SSL Handshake Summary] 7 UNKNOWN <-- Server Hello Done
[ 12] [SSL Handshake Summary] 8† UNKNOWN Client Certificate (Public Key) -->
[ 12] [SSL Handshake Summary] 9† UNKNOWN v Verify and Trust Client Certificate
[ 12] [SSL Handshake Summary] 10 UNKNOWN Client Key Exchange -->
[ 12] [SSL Handshake Summary] 11† UNKNOWN Certificate Verify Confirmation -->
[ 12] [SSL Handshake Summary] 12 UNKNOWN Client Change Cipher Spec -->
[ 12] [SSL Handshake Summary] 13 UNKNOWN Client Finished -->
[ 12] [SSL Handshake Summary] 14 UNKNOWN <-- Server Change Cipher Spec
[ 12] [SSL Handshake Summary] 15 UNKNOWN <-- Server Finished
[ 12] [SSL Handshake Summary]
[ 12] [SSL Handshake Summary] See Alert or Exception for details

 

From the same endpoint , using SoapUI 4.5.2 tool i am able to get the response.

 

Appreciate your help.

 

Regards,
Balamurugan

Outcomes