Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256682

JDK-8202343 is incomplete

    XMLWordPrintable

    Details

      Backports

        Description

        The fix for the following bug is incomplete:

            JDK-8202343 Disable TLS 1.0 and 1.1

        The following test is failing in the JDK16 CI:

        sun/security/util/HostnameMatcher/NullHostnameCheck.java

        Here's a snippet from the log file:

        ----------System.err:(17/1200)----------
        javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        at java.base/sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:172)
        at java.base/sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:98)
        at java.base/sun.security.ssl.TransportContext.kickstart(TransportContext.java:238)
        at java.base/sun.security.ssl.SSLEngineImpl.beginHandshake(SSLEngineImpl.java:107)
        at NullHostnameCheck.handshake(NullHostnameCheck.java:124)
        at NullHostnameCheck.main(NullHostnameCheck.java:100)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:831)

        JavaTest Message: Test threw exception: javax.net.ssl.SSLHandshakeException
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mullan Sean Mullan
                Reporter:
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: