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

Chrome interop regression with JDK-8148516

XMLWordPrintable

    • b01
    • b141
    • Verified

        Bug report:
        =========
        There are issues with Chrome browser and Java9 ea+138 SSL. While I have investigated what could cause the issue I found following. When I disable following ciphers
        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
        then Chrome begins to work as expected.

        Under other browsers like FireFox or Internet Explorer everything is fine.

        One thing to mention, Java9 ea+121 worked fine even with Chrome, so I assume there was regression in one of following versions, but unsure in which one exactly.

        In fact all Java SSL based servers are affected, Chrome refuses to run. I get something like that
        Caused by: java.lang.NullPointerException
            at sun.security.ssl.EllipticCurvesExtension.getECGenParamSpec(java.base@9-ea/EllipticCurvesExtension.java:374)
            at sun.security.ssl.ECDHCrypt.<init>(java.base@9-ea/ECDHCrypt.java:63)
            at sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(java.base@9-ea/ServerHandshaker.java:1584)
            at sun.security.ssl.ServerHandshaker.trySetCipherSuite(java.base@9-ea/ServerHandshaker.java:1368)
            at sun.security.ssl.ServerHandshaker.chooseCipherSuite(java.base@9-ea/ServerHandshaker.java:1172)
            at sun.security.ssl.ServerHandshaker.clientHello(java.base@9-ea/ServerHandshaker.java:800)
            at sun.security.ssl.ServerHandshaker.processMessage(java.base@9-ea/ServerHandshaker.java:237)
            at sun.security.ssl.Handshaker.processLoop(java.base@9-ea/Handshaker.java:1061)
            at sun.security.ssl.Handshaker$1.run(java.base@9-ea/Handshaker.java:1000)
            at sun.security.ssl.Handshaker$1.run(java.base@9-ea/Handshaker.java:997)
            at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
            at sun.security.ssl.Handshaker$DelegatedTask.run(java.base@9-ea/Handshaker.java:1476)
            at io.netty.handler.ssl.SslHandler.runDelegatedTasks(SslHandler.java:1189)
            at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1041)
            ... 26 more

              xuelei Xuelei Fan
              xuelei Xuelei Fan
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: