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

"Client Authentication" window and "Hostname- Missmatch" window appear twice

    • b44
    • x86
    • windows_xp

      Bug Description:
      ----------------
      "Client Authentication" window and "Hostname- Missmatch" window appear twice when jnlp application hosted in https enabled is executed with following constructs in jnlp file.

      <information os="Linux">
          <vendor>Sun Microsystems, Inc.</vendor>
      <title> ShortCutTestCase1 on Linux </title>
      <description kind="short">This is the test for related content for linux
      </description>
      <related-content href="readme.html">
      <description kind="short">readme.html - native content in cache </description>
      <title>UpdatedReadme on Linux 1a</title>
          </related-content>
         <related-content href="readme.html">
      <description kind="tooltip">readme.html - native content in cache</description>
      <title>UpdatedReadme on Linux 1b</title>
          </related-content>
         <related-content href="readme.html">
      <description kind="one-line">readme.html - native content in cache</description>
      <title>UpdatedReadme on Linux 1c</title>
          </related-content>
          <icon href="images/corn.jpg"/>
          <icon kind="splash" href="images/Splash.jpg"/>
          <shortcut online="true">
          <desktop/>
          <menu submenu="My Test Apps/Test1/Test2"/>
          </shortcut>
      <homepage href="homepage.html"/>
      </information>

      JDK-Info:
      ---------
      java version "1.5.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b60)
      Java HotSpot(TM) Client VM (build 1.5.0-beta3-b60, mixed mode)

      System -Info:
      -------------
      G E N E R A L I N F O R M A T I O N

      DESCRIPTION VALUE
      Host Name client20
      Host Aliases loghost
      Host Address(es) 129.158.229.253
      Host ID 832d2ee7
      Serial Number 2200776423
      Manufacturer Sun (Sun Microsystems)
      Number of CPUs 1
      CPU Type sparcv9+vis
      App Architecture sparc
      Kernel Architecture sun4u
      Kernel Bit Size 64
      OS Name SunOS
      OS Version 5.9
      OS Distribution Solaris 9 12/03 s9s_u5wos_08b SPARC
      Libc Name libc
      Libc Version 1
      Kernel Version SunOS Release 5.9 Version Generic_112233-11 64-bit


      Steps to reproduce:
      -------------------
      1. Install jre1.5.0 b60 in windowsXP Testing system.
      2. Invoke JavaControlPanel (jre1.5.0/bin/ControlPanel)
      3. Click Security tab and click "Certificates.." button.
      4. Click import button and import the attached certificate in the bugtraq(client.p12) in client Authentication type,the password is "1234" and the enter client authentication keystore password to be "changeit".
      5. In "Advance" tab in "Security" select all the check box.
      5. Apply and close the Control Panel.

      6. Run the following jnlp file from the location
      https://client20.india.sun.com:8443/SQA/ShortCut/ShortCut1.jnlp
      (javaws https://client20.india.sun.com:8443/SQA/ShortCut/ShortCut5.jnlp)

      7. "Warning - Security" will popup click Yes button.
      8. "Password Needed - client authentication KeyStore" window will popup to enter "changeit"
      9. "Client Authentication" dialog will popup,select "poonam" certificate which is displayed in the dialog and click "OK" button.
      10. "Warning - HTTPS" dialog will popup for Hostname Missmatch click "Yes" button.

      The jnlp application is downloaded now it will execute the jnlp file,again dialog from step7 will appear,but this time the "Client Authentication" dialog and "Warning - HTTPS" dialog will appear twice,which should not be.

      Same behavior is happening in Solaris,JDS(QuickSilver) and WindowsXP Professional.

      I have attached the certificate file

      ###@###.### 2004-08-03

            dgu Dennis Gu (Inactive)
            schandarsunw Suresh Chandar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: