Windows Diverse CA Install
Zur Navigation springen
Zur Suche springen
Powershell für Zertifikatimport
$CertPath = c:/temp/ca.crt $CertStore = Cert:\CurrentUser\kit Import-Certificate -FilePath $CertPath -CertStoreLocation $CertStore
hier ein paar Varianten
Import-Certificate -FilePath $local_path -CertStoreLocation Cert:\LocalMachine\Root certutil -p "**password**" -importpfx Root "**ca-File.p12**"
$mypwd = ConvertTo-SecureString -String "your_password" -AsPlainText -Force Import-PfxCertificate -FilePath "C:\path\your\certificate.pfx" -CertStoreLocation Cert:\LocalMachine\My -Password $mypwd
CERTUTIL -addstore -enterprise -f -v root "%s"'%cmd
certutil -addstore -user -f "TrustedPublisher" $local_path certutil -addstore -user -f "Root" $local_path Import-Certificate -CertStoreLocation Cert:\CurrentUser\TrustedPublisher -FilePath $local_path Import-Certificate -CertStoreLocation Cert:\CurrentUser\Root -FilePath $local_path