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

前端 未结 5 1950
时光说笑
时光说笑 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条回答
  •  走了就别回头了
    2021-01-31 17:53

    To print the content of Root store:

    certutil -store Root
    

    To output content to a file:

    certutil -store Root > root_content.txt
    

    To add certificate to Root store:

    certutil -addstore -enterprise Root file.cer
    

提交回复
热议问题