Set Firefox and-or Internet Explorer to prompt for a password for certificate-protected pages
Question
How can I set Firefox and/or Internet Explorer to prompt for a password before presenting my certificate to a certificate-protected page?
Answer
Firefox:
- Follow the menu path Tools > Options
- Select the Security tab
- In the Passwords section, select Use a Master Password
Internet Explorer:
The security level is locked to a certificate when the certificate is imported, so to set a password it is necessary to export a backup copy of your certificate, then delete your certificate, then import from the backup using "high" security settings.
The following outline lays out key points and important decisions, but is not a full step-by-step guide:
- Launch certmgr.msc
- Go to the folder Personal > Certificates
- Export:
- Right-click your certificate to open its context menu, and choose the action All Tasks > Export...
- On the second page of the Certificate Export Wizard, be sure to choose "Yes, export the private key"
- When prompted, enter a password to protect the export file.
- Save the file somewhere easy to find, like your Desktop.
- Delete:
- Back in the Certificates Manager (certmgr.msc), right-click your certificate and choose the action "Delete"
- Import:
- From the Action menu, choose "All Tasks > Import..."
- Find the PFX file that you saved to your Desktop. Note that Open dialogue is filtered to show .cer/.crt files by default, so you will want to change the filter to show .pfx/.p12 files.
- When prompted, enter the password that protects the export file.
- Be sure to turn on the checkbox to "Enable strong private key protection."
- Optional, you can choose to mark the key as exportable.
- When you finish the import wizard, you will be given an opportunity to "Set Security Level"
- Set to "High"
- In the "password for:" box, you can enter a friendly name such as MIT Personal Certificate (the default name is CryptoAPI Private Key)/
- In the "password" box, enter a special password for the certificate (not your kerberos password)
- Cleanup:
- Verify that IE can use your newly imported certificate to authenticate to MIT certificate-protected web pages.
- For example, click "Test your certificate" on the IST Certificate Test Page
- Remove the PFX backup file that was saved to your Desktop.
- Verify that IE can use your newly imported certificate to authenticate to MIT certificate-protected web pages.