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

JAVA 8u74 gives error - Failed to validate certificate. The application will not be executed.

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      Using JRE version 1.8.0_74-b02 Java HotSpot(TM) Client VM

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows

      A DESCRIPTION OF THE PROBLEM :
      We encountered a problem with the latest JAVA 8u74 (and also on JAVA 8u76)
      We are using Java web start for deploying our application.
      All jar files a signed and there is no problem with deploying and using the application with all java versions (including 8u73).
      With 8u74, application was deployed OK (all JAR files downloaded and application started correctly).
      When trying to apply some operations with the application we got the following error message:

      Failed to validate certificate. The application will not be executed.

      java.security.cert.CertificateException: Could not verify signing in resource: https://www.mysite.com:443/app/myFile.jar
                      at com.sun.deploy.security.TrustDecider.ensureAllJarEntriesSigned(Unknown Source)
                      at com.sun.deploy.security.TrustDecider.getValidationState(Unknown Source)
                      at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
                      at com.sun.deploy.security.TrustDecider.isAllPermissionGrantedInt(Unknown Source)
                      at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
                      at com.sun.deploy.security.DeployURLClassLoader.getResourcePermission(Unknown Source)
                      at com.sun.deploy.security.DeployURLClassLoader.getResourceAsStream(Unknown Source)
                      at com.til.manager.B.A.A(Unknown Source)
                      at com.til.manager.B.A.D(Unknown Source)
                      at com.til.manager.B.A.B(Unknown Source)
                      at com.til.manager.app.H$6.run(Unknown Source)
      Caused by: com.sun.deploy.net.JARSigningException: Could not verify signing in resource: https://www.mysite.com:443/app/myFile.jar

      This happens for several files.
      This error message is shown when our application tries to extract files from the jar files to the local computer.


      REGRESSION. Last worked in version 8u73


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.security.cert.CertificateException: Could not verify signing in resource: https://www.mysite.com:443/app/myFile.jar
                      at com.sun.deploy.security.TrustDecider.ensureAllJarEntriesSigned(Unknown Source)
                      at com.sun.deploy.security.TrustDecider.getValidationState(Unknown Source)
                      at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
                      at com.sun.deploy.security.TrustDecider.isAllPermissionGrantedInt(Unknown Source)
                      at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
                      at com.sun.deploy.security.DeployURLClassLoader.getResourcePermission(Unknown Source)
                      at com.sun.deploy.security.DeployURLClassLoader.getResourceAsStream(Unknown Source)
                      at com.til.manager.B.A.A(Unknown Source)
                      at com.til.manager.B.A.D(Unknown Source)
                      at com.til.manager.B.A.B(Unknown Source)
                      at com.til.manager.app.H$6.run(Unknown Source)
      Caused by: com.sun.deploy.net.JARSigningException: Could not verify signing in resource: https://www.mysite.com:443/app/myFile.jar


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Uninstall 8u74 and install a previous version.

            mcherkas Mikhail Cherkasov (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: