How to export non-exportable private key from store

前端 未结 7 781
野的像风
野的像风 2021-01-29 20:51

I need to export private key from Windows store. What should I do if the key is marked as non-exportable? I know that it is possible, program jailbreak can export this key.

7条回答
  •  感动是毒
    2021-01-29 21:16

    Unfortunately, the tool mentioned above is blocked by several antivirus vendors. If this is the case for you then take a look at the following.

    Open the non-exportable cert in the cert store and locate the Thumbprint value.

    Next, open regedit to the path below and locate the registry key matching the thumbprint value.

    An export of the registry key will contain the complete certificate including the private key. Once exported, copy the export to the other server and import it into the registry.

    The cert will appear in the certificate manager with the private key included.

    Machine Store: HKLM\SOFTWARE\Microsoft\SystemCertificates\MY\Certificates User Store: HKCU\SOFTWARE\Microsoft\SystemCertificates\MY\Certificates

    In a pinch, you could save the export as a backup of the certificate.

提交回复
热议问题