SSL Cert Issue - java.lang.IllegalArgumentException: TLSv1.3
search cancel

SSL Cert Issue - java.lang.IllegalArgumentException: TLSv1.3

book

Article ID: 402205

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Getting below SSL issue for the service which have the https protocol. 

Exception: 
============================================================================
| Message:     java.lang.IllegalArgumentException: TLSv1.3
----------------------------------------------------------------------------
| Trapped Exception: TLSv1.3
| Trapped Message:   java.lang.IllegalArgumentException: TLSv1.3
----------------------------------------------------------------------------
STACK TRACE
java.lang.IllegalArgumentException: TLSv1.3
  at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:187)
  at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
  at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
  at sun.security.ssl.SSLServerSocketImpl.setEnabledProtocols(SSLServerSocketImpl.java:219)
  at com.itko.lisa.vse.sio.OldIOPortServer.createServerSocket(OldIOPortServer.java:132)
  at com.itko.lisa.vse.sio.OldIOPortServer.<init>(OldIOPortServer.java:106)
  at com.itko.lisa.vse.sio.DefaultPortServerFactory.createPortServer(DefaultPortServerFactory.java:49)
  at com.itko.lisa.vse.sio.PortServer.createPortServer(PortServer.java:85)
  at com.itko.lisa.vse.http.TextHTTPServer.<init>(TextHTTPServer.java:146)
  at com.itko.lisa.vse.http.TextHTTPServer.getServer(TextHTTPServer.java:89)
  at com.itko.lisa.vse.stateful.protocol.http.HttpListenStep.execute(HttpListenStep.java:473)
  at com.itko.lisa.test.TestNode.executeNode(TestNode.java:994)
  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:1122)
  at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:72)
  at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:1021)
  at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)
  at java.lang.Thread.run(Thread.java:748)

 

Environment

DevTest 10.7.2 SP3

Cause

You need a minimum JDK/JRE 11 for TLSV1.3 and DevTest 10.7.2 SP3 is not delivered with that version,

Resolution

Use TLSv1.2 with the service or upgrade to DevTest 8.x to use TLSv1.3.