I can not export .p12 file from digital certificate e-token. The option "Yes,export the private key" is inactive in internet explorer. And "Failed to create the PKCS #12 backup file for unknown reasons." get this message from firefox. What is the problem??
Asked
Active
Viewed 1,153 times
1
-
3The private keys in e-tokens (or other secure elements like smart cards) are not meant to be exportable. This actually is a security feature. So unless the token is flawed, you won't be able to export/backup the private key. – mkl Sep 01 '15 at 11:32
-
How do I sign any document with the token using a java application @mkl? – aich.pom Sep 03 '15 at 05:37
-
1I assume you would use a PKCS#11 driver for the token. – mkl Sep 03 '15 at 06:16
-
Then how can I export the private key? – aich.pom Sep 03 '15 at 07:00
-
1You cannot. The signature is created on the token, the private key never is outside it. – mkl Sep 03 '15 at 07:57
-
On windows you now also have the option to use the MSCAPI provider - **if** the token is usable within MS CAPI of course. – Maarten Bodewes Sep 06 '15 at 23:37
-
Thanks for your comment @mkl – aich.pom Sep 07 '15 at 05:51
-
This related question may help: https://superuser.com/questions/586245/pull-certificate-from-firefox-without-using-firefox – Pierz Oct 18 '21 at 13:58