Import pfx file into particular certificate store from command line

后端 未结 7 1363
时光取名叫无心
时光取名叫无心 2021-01-30 17:12

It\'s relatively easy to import a certificate into the user\'s personal store from a pfx file by using CertUtil:

certutil –f –p [certificate_password] –importpfx         


        
相关标签:
7条回答
  • 2021-01-30 17:43

    In newer version of windows the Certuil has [CertificateStoreName] where we can give the store name. In earlier version windows this was not possible.

    Installing *.pfx certificate: certutil -f -p "" -enterprise -importpfx root ""

    Installing *.cer certificate: certutil -addstore -enterprise -f -v root ""

    For more details below command can be executed in windows cmd. C:>certutil -importpfx -? Usage: CertUtil [Options] -importPFX [CertificateStoreName] PFXFile [Modifiers]

    0 讨论(0)
提交回复
热议问题