diff --git a/src/tools/chip-cert/Cmd_ValidateCert.cpp b/src/tools/chip-cert/Cmd_ValidateCert.cpp index 6445207e8065da..3417f8d089ba27 100644 --- a/src/tools/chip-cert/Cmd_ValidateCert.cpp +++ b/src/tools/chip-cert/Cmd_ValidateCert.cpp @@ -191,6 +191,7 @@ bool Cmd_ValidateCert(int argc, char * argv[]) uint32_t currentTime; res = chip::UnixEpochToChipEpochTime(static_cast(time(nullptr)), currentTime); context.mEffectiveTime.Set(currentTime); + context.mRequiredKeyUsages.Set(KeyUsageFlags::kDigitalSignature); VerifyTrueOrExit(res); err = certSet.FindValidCert(certToBeValidated->mSubjectDN, certToBeValidated->mSubjectKeyId, context, &validatedCert);