suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT38282 Status: Closed

CONNECTING WITH SSL CAN THROW "ILLEGALARGUMENTEXCEPTION: TLSV1.3"

product:
IBM CSDK / 5724C2381 / 450 - CSDK 4.50
Problem description:
Setting up a connection with

"jdbc:informix-sqli://machine:12345/sysmaster:informixserver=tes
t_ssl;user=myuser;password=mypassword;";

Properties prop = new Properties();
prop.put("SSL_TRUSTSTORE", "");
prop.put("SSL_TRUSTSTORE_PASSWORD", "");
prop.put("SSLCONNECTION", "true");

can fail with:

Socket connection to server (test_ssl@machine:12345) failed.
Check your server is reachable from this client on the host:port
specified.
java.sql.SQLException: Socket connection to server
(test_ssl@machine:12345) failed. Check your server is reachable
from this client on the host:port specified.
        at
com.informix.jdbc.IfxSqliConnect.(IfxSqliConnect.java:1536
)
        at
com.informix.jdbc.IfxDriver.connect(IfxDriver.java:167)
        at
java.sql.DriverManager.getConnection(DriverManager.java:664)
        at
java.sql.DriverManager.getConnection(DriverManager.java:208)
        at TestJdbc.main(TestJdbc.java:40)
Caused by: com.informix.asf.IfxASFException: Socket connection
to server (test_ssl@machine:12345) failed. Check your server is
reachable from this client on the host:port specified.
        at
com.informix.util.IfxErrMsg.getLocIfxASFException(IfxErrMsg.java
:585)
        at
com.informix.asf.Connection.openSocket(Connection.java:1684)
        at
com.informix.asf.Connection.connect(Connection.java:333)
        at
com.informix.asf.Connection.(Connection.java:327)
        at
com.informix.jdbc.IfxSqliConnect.(IfxSqliConnect.java:1261
)
        ... 4 more
Caused by: java.lang.IllegalArgumentException: TLSv1.3
        at
sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:18
7)
        at
sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
        at
sun.security.ssl.ProtocolList.(ProtocolList.java:52)
        at
sun.security.ssl.SSLSocketImpl.setEnabledProtocols(SSLSocketImpl
.java:2538)
        at
com.informix.asf.Connection.openSocket(Connection.java:1629)
        ... 7 more
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix JDBC prior to 4.50.JC7.                    *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix JDBC 4.50.JC7.                           *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix JDBC prior to 4.50.JC7.                    *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix JDBC 4.50.JC7.                           *
****************************************************************
Comment
Fixed in Informix JDBC 4.50.JC7.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
07.09.2021
02.11.2021
02.11.2021
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download