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

Client Authentication is not working as expected in "Reinstall" option in javaws

XMLWordPrintable

    • 5.0
    • b42
    • x86
    • windows_xp

      Bug Description:
      ----------------
      Client Authentication is not working as expected in "Reinstall" option in "Java Application Cache Viewer" when jnlp application is installed from https server.

      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)

      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. Apply and close the Control Panel.
      6. Import the following jnlp file from the location
      https://client20.india.sun.com:8443/SQA/ShortCut/ShortCut1.jnlp
      (javaws -import https://client20.india.sun.com:8443/SQA/ShortCut/ShortCut1.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.
      11. The jnlp application is downloaded, now it invoke javaws from command prompt.
      12. Select the installed application and click "Remove Selected Application" button.
      13. Click "Reinstall" menu item in Edit menu.
      14. In "Reinstall Removed JNLP Application" window select the application and click "Reinstall Selected Application(S)" button.
      15. "Warning - Security" will popup click No button.
      16. "JavaWebStart - Download Error" window will appear click ok.

      again Click "Reinstall" menu item in Edit menu and try to re - install the application ,this time Warning -Certificate window is not displayed and directly it displays "JavaWebStart - Download Error" window.

      Until the user close the Java Application Cache Viewer and reopens again the user cannot reinstall the application.
      the propblem is the state is maintained still the Cache Viewer exists.

      The same problem exist even with accepting the certificate through reinstall,when again user removes the application and reinstalls it, Cache is not checking for certificates.


      ###@###.### 2004-08-06

            herrick Andy Herrick (Inactive)
            schandarsunw Suresh Chandar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: