Cannot export certificate with private key?
Have you ever needed to export a certificate on a server that was imported without the option to export the private key ?
Well if the answer is yes then you know you will need to either re key the certificate or simply request a new one.
But i have found a little tool that allow you to export the certificate with the private key.
First go to this website and download Trunk.
Now you will need to run mimikatz with admin rights
Type in:
- privilege::debug
- crypto::patchcapi
- crypto::exportCertificates CERT_SYSTEM_STORE_LOCAL_MACHINE
This will export all the computer certificate at the same location that your mimikatz was runing.
PS: the password for the pfx is mimikatz
No trackbacks yet.