2
Using inetmgr, I made a pfx file containing the public and private keys for a certificate. Now I'm trying to install the pfx into another machine from the command prompt with
certutil -p <password> -importpfx root <path_to_pfxfile>
Unfortunately, this is only importing the public key. If I use the certmgr snap-in I can import both keys, but I need to be able to automate this. Can anybody help?
The
– Crippledsmurf – 2015-09-11T23:13:33.570Import-PfxCertificate
PowerShell command will probably do what you want. I'm not in a position to test this right now, but the documentation is here: https://technet.microsoft.com/en-us/library/hh848625(v=wps.630).aspxThanks. I'll try it on Monday. Post it as an answer, and if it works i'll pick it. – user1058410 – 2015-09-12T05:15:39.970