- 
    Type:
Bug
 - 
    Resolution: Duplicate
 - 
    Priority:
  P2                     
     - 
    None
 - 
    Affects Version/s: 6u85
 - 
    Component/s: deploy
 
                    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
            
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
- relates to
 - 
                    
JDK-8058689 Opening HTTPS connection to untrusted server from paint method result in unresponsive system
-         
     - Closed
 
 -