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

6u85: Applet can't connect to https servers using URLConnection

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • CPU:
      generic
    • OS:
      generic

      Description

      In 6u85 applets can't connect to an untrusted https server using URLconnection. Resources are retrieved fine.

      Console shows:

      network: Connecting http://stt-13.ru.oracle.com:8443/ with proxy=DIRECT
      java.lang.ExceptionInInitializerError
      at com.sun.deploy.security.X509TrustManagerDelegate.initCertStores(Unknown Source)
      at com.sun.deploy.security.X509TrustManagerDelegate.reloadCertStores(Unknown Source)
      ....
      Caused by: java.security.AccessControlException: access denied (java.io.FilePermission C:\PROGRA~2\Java\jre6\lib\security\jssecacerts read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      ....
      javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Java couldn't trust Server
      at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
      ...
      This was not noticed before because it was masked with JDK-8047871

      This is a regression in 6u85 since b01. The issue does not exist in 6u81 b08

        Attachments

        1. ConsoleLog.png
          113 kB
          Daniil Titov
        2. Paint.png
          91 kB
          Daniil Titov

          Issue Links

            Activity

              People

              Assignee:
              van Vivi An (Inactive)
              Reporter:
              aluht Anton Luht (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: