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

InvalidKeyStoreFormat Execption should be thrown if one tries to access the relevant corrupted store

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 9
    • 6u1
    • deploy
    • None
    • generic
    • generic

      If any of the user level store is corrputed then on clicking on the "Certificates"
      button on Security tab of JCP, "Application Error" pop-up is there due to "java.io.IOException: Invalid keystore format" exception getting thrown. This behavior gives an impression that all the system and user level stores are corrupted.

      Above mentioned exception should only be thrown when user tries to access the relevant
      security store which is corrupted under "Certificates" dialog.

      Steps to reproduce:
      1) Copy any of the attached certificate store to user level deployment security home
       e.g. on windows copy "trusted.clientcerts.corrupted" to D:\Documents and Settings\<user_name>\Application Data\Sun\Java\Deployment\security
      2)Rename "trusted.clientcerts.corrupted" as "trusted.clientcerts"
      3) Invoke JCP > Security and click on "Certificates" button.

      If "Application Error" pop-up is there due to "java.io.IOException: Invalid keystore format" exception then the bus is reproduced. Exception should get thrown not on clicking on the "Certificates" button but when user tries to access the User level Client
      Authentication store.

            vrao Vivek Rao (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: