When using Java control panel to import or remove certificate from client authentication keystore, you will get some unexpected dialog box popup.
Import a certificate:
1. Open Java control panel, under "Security" -> "Certificates", select "Client Authentication" from Certificate type list box.
2. Make sure you don't have "Dennis Gu" certificate in the list, click on "Import" Button.
3. Select dgu.p12 from list (which is attached to this bug).
4. Enter password: dennisgu. click on "OK".
5. You will see another password dialog box popup asking for keystore password. Click on "Cancel" button.
6. You will see the password dialog box popup again. this is wrong. The correct behavior is that no more password dialog box will popup.
Remove a certificate:
1. Open Java control panel, under "Security" -> "Certificates", select "Client Authentication" from Certificate type list box.
2. Make sure you have "Dennis Gu" certificate in the list (dgu.p12 is attached in this bug report), select "Dennis Gu" and click on "remove" Button.
3. Click on "OK" on confirm dialog box, you will see a password dialog box popup.
4. Click on "Cancel" button, you will see a exception dialog box popup, this is wrong. You shouldn't see any popup dialog box after click on "Cancel" button.
Import a certificate:
1. Open Java control panel, under "Security" -> "Certificates", select "Client Authentication" from Certificate type list box.
2. Make sure you don't have "Dennis Gu" certificate in the list, click on "Import" Button.
3. Select dgu.p12 from list (which is attached to this bug).
4. Enter password: dennisgu. click on "OK".
5. You will see another password dialog box popup asking for keystore password. Click on "Cancel" button.
6. You will see the password dialog box popup again. this is wrong. The correct behavior is that no more password dialog box will popup.
Remove a certificate:
1. Open Java control panel, under "Security" -> "Certificates", select "Client Authentication" from Certificate type list box.
2. Make sure you have "Dennis Gu" certificate in the list (dgu.p12 is attached in this bug report), select "Dennis Gu" and click on "remove" Button.
3. Click on "OK" on confirm dialog box, you will see a password dialog box popup.
4. Click on "Cancel" button, you will see a exception dialog box popup, this is wrong. You shouldn't see any popup dialog box after click on "Cancel" button.