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

JCP : unable to export certificates from the client authentication(System) store

XMLWordPrintable

      Tested_Java_Release : 1.5.0-b99/1.5.0-beta2-b43
      Tested_bundles_Location :
      PIT bundles :/java/j2se-sqe/deployment3/tiger/PIT_builds/JD-PIT-23/
      promoted builds: /net/koori.sfbay/p/jdk07/jdk/1.5.0/beta2/b43/bundles
      Tested_Machine_Name : dnm-011/blueski
      Tested O/S : winxp/solaris10

      Problem Description :
      User is not allowed to export certificates from the system level client authentication store. At any point of time if the user selects an certificates and tried to export it from the client authentication store,it follows the following steps:
      1) FileDialog will be there asking for user to enter the filename and save it
      2)Once user is through with #1,password dialog box will be there to provide the password to access the certficate file
      3)once the correct password is supplied ,another pop-up will be there asking user to supply password of his choice to save the certificate file

      After #1 as of now it's throwing exception and pops up an error dialog saying that user has supplied invalid password(user has not given any chance to supply password). If you look at the exception details then you will notice FileNotFound exception has been thrown as it's trying to access the certificate file from the <deployment_user_home>/security instead of <deployment_system_home>/security. If I copy the trusted.clientcerts to <deployment_user_home>/security,then it works fine but this time the user_level security store has been accessed instead of system_level store though we have choosen System level store in the control panel

      Export works fine on all the other stores at System level

      Steps to reporduce
      1) Copy /net/sqesvr-nfs/global/nfs/deployment2/jitu/trusted.clientcerts to <dep_system_home>/security (/etc/.java/deployemnt/security on unix and C:/windows/Sun/Java/Deployment on winodws)
      make sure that <dep_user_home>/security is empty and there is no as such deployemnt.config exists inside <dep_system_home>
      2) Open Java Control Panel > Security > Certificates > Client Authentication > System
      3) Select one entry and try to Export it
      4) Enter the filename inside the FileDialog and Click Save
      5) Error - Export Certificates dialog will come up ,displaying that "Inavlid Password The password you entered is incorrect"
       Now user will be kind of confused out there as he has not entered any password yet
      6) Click on the More Details on Error dialog , you will not notice that it's throwing "FileNotFound Exception" as it's trying to access the user level store





            dgu Dennis Gu (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: