Import pfx file into particular certificate store from command line

后端 未结 7 1520
时光取名叫无心
时光取名叫无心 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]

提交回复
热议问题