(Error code 0216eb)
This error originated from one of the following locations within the iPXE source code:
DEBUG=x509
(Please edit this page to include any of your own useful hints and tips for fixing this error.)
This is an old revision of the document!
Using a self-signed certificate, the following build command resulted in a iPXE binary that would yield this “0216eb..” error.
make bin/ipxe.lkrn EMBED=../syslinux.ipxe CERT=../certs/selfsigned-cert.pem TRUST=../certs/selfsigned-cert.pem
Adding the “PRIVKEY” option did not seem to resolve the error.
By trial-and-error, I found the following method to work-around the error.
cd ../certs cat selfsigned-cert.pem selfsigned-key.pem > cert-and-key.pem cd ../src
make bin/ipxe.lkrn EMBED=../syslinux.ipxe CERT=../certs/cert-and-key.pem TRUST=../certs/cert-and-key.pem
Add DEBUG=tls,x509:3,certstore,privkey
to make line for relevant run-time debug info.
If you want to trust multiple root certificates, use one certificate per file and specify all files separated with comma as described in the commit that introduced the feature.