Hardware Dev Center

Using CertMgr to Install Test Certificates on a Test Computer

To install test certificates on a test computer by using CertMgr, follow these steps:

  1. Copy the certificate (.cer) file, which was used to test-sign drivers, to the test computer. You can copy the certificate file to any directory on the test computer.

  2. Use CertMgr commands to add the certificate to the Trusted Root Certification Authorities certificate store and the Trusted Publishers certificate store.

The following CertMgr command adds the certificate in the certificate file CertificateFileName.cer to the Trusted Root Certification Authorities certificate store on the test computer:


CertMgr.exe /add CertificateFileName.cer /s /r localMachine root

The following CertMgr command adds the certificate in the certificate file CertificateFileName.cer to the Trusted Publishers certificate store on the test computer:


CertMgr.exe /add CertificateFileName.cer /s /r localMachine trustedpublisher

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft