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

Things to try:

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