Import Certificate to Trusted Root but not to Personal [Command Line]

前端 未结 5 2003
时光说笑
时光说笑 2021-01-31 17:14

I am trying to import two certificates to my local machine using the command line.

I have one certificate to add to the Personal Store of the local machine, and another

5条回答
  •  Happy的楠姐
    2021-01-31 18:03

    If there are multiple certificates in a pfx file (key + corresponding certificate and a CA certificate) then this command worked well for me:

    certutil -importpfx c:\somepfx.pfx this works but still a password is needed to be typed in manually for private key. Including -p and "password" cause error too many arguments for certutil on XP

提交回复
热议问题