[Gpg4win-users-en] p12 secret key export

Werner Koch wk at gnupg.org
Mon Nov 25 09:52:37 CET 2013


On Sat, 23 Nov 2013 09:38, orcunertugrul at gmail.com said:

> I am trying to export my certificate and private key as p12 file to install
> a smartcard. But my Kleopatra does not allow p12 files. When i write a.p12
> as file name, it changes a.gpg the file name.

As a quick workaround:

Open a shell (cmd.exe window) and run

  gpgsm --export-secret-key-p12 <USERID> > foo.p12

For the USERID you may use the fingerprint, the keyid, or the subject
name.  Use 

  gpgsm --list-secret-keys <USERID>

to check whether the USERID is what you want.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gpg4win-users-en mailing list