This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
err:0216eb [2018/10/01 21:40] nikize add explanation of how to use TRUST with multiple certificates |
err:0216eb [2019/07/09 12:28] mcb30 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | 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. | Add ''DEBUG=tls,x509:3,certstore,privkey'' to make line for relevant run-time debug info. | ||