(Error code 022ae2)
This error originated from one of the following locations within the iPXE source code:
DEBUG=cms(Please edit this page to include any of your own useful hints and tips for fixing this error.)
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:
codesign.crt: $ openssl x509 -in codesign.crt -noout -text
...
X509v3 extensions:
X509v3 Key Usage:
Digital Signature
X509v3 Extended Key Usage:
Code Signing
...
keyUsage=digitalSignature extendedKeyUsage=codeSigning
A certificate used for code-signing must also include the digitalSignature key usage.