from chrome:
https://www.comodo.com/support/products/authentication_certs/setup/win_chrome.php
from IE :
https://www.digicert.com/code-signing/exporting-code-signing-certificate.htm
步骤加图解,十分清晰!
In cryptography, PKCS #12 is a bundled key format which is commonly used to store the private key with its X.509 certificate together. See more info on Wikipedia here.
You can only export certificates in PKCS #12 format if you have the private key that belongs to it in your browser. This must be on the same computer and the same browser which you used to generate the key signing certificate. See CaCert’s Knowledge base article for a clearer explanation:
“Your keys are contained in something called the key “store”. You may export public/private keypairs from your store to a file, and optionally (but highly recommended!) secure them with a passphrase. This is typically done by going into the “Manage Certificates” section of your browser (i.e., Firefox), and then performing a “Backup” of your key. This will create a file with with a .P12 or .PFX suffix.
只有当你有浏览器的秘钥的时候才能导出pkcs12的证书,所以要先导出秘钥才能继续导出pkcs12格式的证书。