The certificate is not valid for the requested usage

Something which happened recently in June 2022 and may be of interest to Windows driver signers who have DigiCert code signing certificates.
https://knowledge.digicert.com/solution/authenticode-signature-verification-fails-with-new-timestamping-cross-root.html

Short take: An updated DigiCert time stamp certificate can cause signing validation errors if your code signing certificate was also from DigiCert. DigiCert has provided a cross-certificate intended to work around the issue during signing.