Password incorrect error when importing a PKCS#12 generated by RSA Certificate Manager on Microsoft Internet Explorer
Originally Published: 2010-10-07
Article Number
Applies To
RSA Version/Condition: 6.7
Platform: Microsoft Windows 2003 Server
Platform (Other): Microsoft Internet Explorer
Issue
Attempting to import a PKCS#12 (containing a certificate and the corresponding private key) with correct password shows the following error on Microsoft Internet Explorer:
Certificate Import Wizard The password you entered is incorrect. [OK]
Cause
-----BEGIN CERTIFICATE AND KEY----- MIIJQgIBAzCCCPwGCSqGSIb3DQEHAaDDDO0EggjpMGGG5TcccOEGCSqGSIb3DQHE BaCCCNIEggjOMIIIyjCCBTYGCyqGSIb34444CgECoIIE7TCCBOkwGwYKKoZIhvNc QAwBAzANBAhQKeJPs5nU6gIBAQSCBMitmGLFyeU3EXTJ8W86fBFOhQ/J8rsH0V5S ..... ..... -----END CERTIFICATE AND KEY-----
A PEM-formatted PKCS#12 with header/footer fails to import into Microsoft Internet Explorer. Internet Explorer accepts DER-encoded PKCS#12 object for importing.
Resolution
- Remove header and footer (that look like the following) from PEM-formatted PKCS#12 and save to a file (for examle "myp12.pfx"):
-----BEGIN CERTIFICATE AND KEY----- -----END CERTIFICATE AND KEY-----
- Run the following openssl command to convert PEM-formatted PKCS#12 into DER-encoded file:
openssl base64 -d -a -in myp12.pfx -out myp12inDER.pfx
- Now import myp12inDER.pfx into Internet Explorer, which should succeed.
Notes
The PKCS#12 was generated on RSA Certificate Manager Admin Interface -> CA Operations Workbench -> View a software-based CA -> click on 'Export to PKCS#12' button and provide a password to protect the PKCS#12.
Related Articles
FIM Unsupported encryption algorithm error when importing partner metadata 5Number of Views RSA Governance & Lifecycle LDAP Novell eDirectory Connector Guide 17Number of Views Email and log file timestamps are incorrect in RSA Identity Governance & Lifecycle 69Number of Views Cloud Administration Enable FIDO Authenticator API 40Number of Views RSA Governance & Lifecycle Custom Schema Connector Guide 45Number of Views
Don't see what you're looking for?