0

I am struggling with CertUtil command called from Powershell on Win 7:

certutil -enterprise -f -p 'my password' -importpfx root 'mypfxfile.pfx';

It is working perfectly on Win 10 but on Win 7 it is saying that:

CertUtil: Unexpected "-enterprise" option

When deleting -enterprise option I am getting:

CertUtil: -importPFX command FAILED: 0x80070057 (WIN32: 87)
CertUtil: The parameter is incorrect.

So after deleting root it is finally working but then not all certificates goes to Local Computer.

I need robust solution for both Windows versions. Is this something with CertUtil version? It is different on both windowses.

piort
  • 29
  • 3

0 Answers0