Rediger

Del via


MakeCert Test Certificate

A MakeCert test certificate is an X.509 digital certificate that is created by using the MakeCert tool. A MakeCert test certificate is a self-signed root certificate that can be used to test-sign a driver package's catalog file or to test-sign a driver file by embedding a signature in the driver file.

To learn more about creating a MakeCert test certificate, see Creating Test Certificates.

Installing a MakeCert test certificate

To test-sign a catalog file or embed a signature in a driver file, the MakeCert test certificate can be in the Personal certificate store ("my" store), or some other custom certificate store, of the local computer that signs the software. However, to verify a test signature, the corresponding test certificate must be installed in the Trusted Root Certification Authorities certificate store of the local computer that you use to verify the signature.

Use the CertMgr tool, as follows, to install a test certificate in the Trusted Root Certification Authorities certificate store of the local computer that you use to sign drivers:

CertMgr /add CertFileName.cer /s /r localMachine root

Before you can install a driver package that is signed by a MakeCert test certificate, the test certificate must be installed in the Trusted Root Certification Authorities certificate store and the Trusted Publishers certificate store of the test computer. For information about how to install a MakeCert test certificate on a test computer, see Installing a Test Certificate on a Test Computer.