Answer the question
In order to leave comments, you need to log in
How to import a certificate through CertMgr.exe?
I'm trying to set up certificate import on machines with WIN7 WIN10 OS via a batch file.
Used to connect VPN over SSTP.
You need to import the certificate into "machine trusted root certificates". It is the computer, not the user.
I achieved that I created a folder where I threw the certificate itself, CertMgr.exe, import.bat I
copy this case to the experimental machine, I run the import as administrator - the certificate is imported in the wrong place. in personal .. That's the rub.
Answer the question
In order to leave comments, you need to log in
You are using powershell. The Import-certificate cmdlet allows you to directly specify the target store, including machine stores.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question