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

javax/net/ssl/SSLEngine/NoAuthClientAuth.java failed on TLSv1.3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 14
    • Fix Version/s: 15
    • Component/s: security-libs
    • Labels:

      Description

      Run NoAuthClientAuth.java for TLSv1.3, but it failed as the below,
      javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
      at java.base/sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:1047)
      at NoAuthClientAuth.runTest(NoAuthClientAuth.java:249)
      at NoAuthClientAuth.main(NoAuthClientAuth.java:149)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      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.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xuelei Xue-Lei Fan
                Reporter:
                jjiang John Jiang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: