Upravit

Sdílet prostřednictvím


Deprecation of Software Publisher Certificates, Commercial Release Certificates, and Commercial Test Certificates

Caution

The majority of cross-certificates expired in July 2021. You cannot use code signing certificates that chain to expired cross-certificates to create new kernel mode digital signatures for any version of Windows.

The Microsoft Trusted Root Program no longer supports root certificates that have kernel mode signing capabilities.

For policy requirements, see Windows 10 Kernel Mode Code Signing Requirements.

Existing cross-signed root certificates with kernel mode code signing capabilities will continue working until expiration. All software publisher certificates, commercial release certificates, and commercial test certificates that chain back to these root certificates also become invalid on the same schedule.

To get your driver signed, first Register for the Windows Hardware Dev Center program.

Frequently asked questions

What is the expiration schedule of the trusted cross-certificates?

All cross-signed root certificates have expired.

What alternatives to cross-signed certificates are available for testing drivers?

For all options below, the TESTSIGNING boot option must be enabled.

For testing drivers at boot, see How to Install a Test-signed Driver Required for Windows Setup and Boot.

For more info, see Signing drivers during development and test.

What will happen to my existing signed driver packages?

As long as driver packages are timestamped before the expiration date of the leaf signing certificate, they will continue working.

Is there a way to run production driver packages without exposing it to Microsoft?

No, all production driver packages must be submitted to, and signed by Microsoft.

Does every new Production version of a driver package need to be signed by Microsoft?

Yes, every time a Production level driver package is rebuilt, it must be signed by Microsoft.

Can we sign non-driver code with our existing 3rd party issued certificates?

Yes, these certificates continue to work until they expire. Code which is signed using these certificates only run in user mode unless it has a valid Microsoft signature.

Will I be able to continue using my EV certificate for signing submissions to Hardware Dev Center?

Yes, EV certificates will continue to work until they expire. If you sign a kernel-mode driver with an EV certificate after the expiration of the cross-certificate that issued that EV certificate, the resulting driver will not load, run, or install.

How do I know if my signing certificate will be impacted by these expirations?

If your Cross Certificate Chain ends in Microsoft Code Verification Root, your signing certificate is affected.

To view the cross certificate chain, run signtool verify /v /kp <mydriver.sys>. For example:

[Finding Cross Certificate Chain.]

How can we automate Microsoft Test Signing to work with our build processes?

Your build processes can call the Hardware Dev Center API.

For samples that show usage, see the Surface Dev Center Manager repository.

Is Microsoft the sole provider of production kernel mode code signatures?

Yes.

Hardware Dev Center doesn't provide driver signing for Windows XP, how can I have my drivers run in XP?

Drivers can still be signed with a 3rd party issued code signing certificate. However, the certificate that signed the driver must be imported into the Local Computer Trusted Publishers certificate store on the target computer. See Trusted Publishers Certificate Store for more information.

How do production signing options differ by Windows version?

Warning

Cross-signing is no longer accepted for driver signing. Using cross certificates to sign kernel-mode drivers is a violation of the Microsoft Trusted Root Program (TRP) policy. The TRP no longer supports root certificates that have kernel mode signing capabilities. Certificates in violation of Microsoft TRP policies will be revoked by the CA.

If your driver runs on Windows 7, 8, or 8.1, your driver must be signed through the Windows Hardware Compatibility Program. To get started, see Create a new hardware submission.

Starting in Windows 10, use either WHCP or attestation signing.

If you have challenges signing your driver with WHCP, please report the specifics using one of the following:

  • Use the Microsoft Collaborate portal, available through the Microsoft Partner Center Dashboard, to create a feedback bug.
  • Go to Windows developer support, select the Contact us tab, and in the Technical support box, next to Driver Development and Testing/Certification, select Submit an incident.