This error indicates that the certificate used to verify a binary with the imgverify command is not a signing certificate. A certificate used for code-signing must include the digitalSignature key usage.

Things to try:

A certificate used for code-signing must also include the codeSigning extended key usage.