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

Opening a Java Web Start application with outdated certificate results in JNLPException without the opportunity to view the certificate

XMLWordPrintable

    • x86
    • other

      FULL PRODUCT VERSION :


      ADDITIONAL OS VERSION INFORMATION :
      Windows 10

      A DESCRIPTION OF THE PROBLEM :
      Opening a Java Web Start application with outdated certificate results in JNLPException without the opportunity to view the certificate.
      The only hint is, that it is an security error.

      REGRESSION. Last worked in version 8u121

      ADDITIONAL REGRESSION INFORMATION:
      The same site "http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble/index.html" works with older JRE versions without the hint, that the certificate is outdated, which is a bug, too.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Warning of a verified but outdated certificate, with the option to ignore this.
      ACTUAL -
      Error-Window

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      ExitException[ 3]JNLPException[category: Sicherheitsfehler : Exception: null : LaunchDesc:
      <jnlp spec="1.0" xmlns:jfx="http://javafx.com" codebase="http://download.oracle.com/otndocs/products/javafx/2/samples/Ensemble" href="Ensemble.jnlp">
        <information>
          <title>Ensemble</title>
          <vendor>demo</vendor>
          <description>Sample JavaFX 2 Ensemble application.</description>
          <offline-allowed/>
        </information>
        <resources>
          <javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
        </resources>
        <resources>
          <j2se version="1.7+" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Xss1m"/>
          <jar href="Ensemble.jar" size="9780339" download="eager"/>
        </resources>
        <security>
          <all-permissions/>
        </security>
        <applet-desc width="100" height="100" main-class="com.javafx.main.NoJavaFXFallback" name="Ensemble">
          <param name="requiredFXVersion" value="2.2+"/>
        </applet-desc>
        <javafx-desc width="100" height="100" main-class="ensemble.Ensemble2" name="Ensemble"/>
        <update check="background"/>
      </jnlp> ]
      at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
      at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      javaws http://download.oracle.com/otndocs/products/javafx/2/samples/Ens
      emble/Ensemble.jnlp
      ---------- END SOURCE ----------

            herrick Andy Herrick (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: