iPXE discussion forum
add private key to ipxe - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: add private key to ipxe (/showthread.php?tid=18593)



add private key to ipxe - cckp - 2019-07-06 04:23

at http://ipxe.org/err/0216eb

>> cat selfsigned-cert.pem selfsigned-key.pem > cert-and-key.pem
>> make bin/ipxe.lkrn EMBED=../syslinux.ipxe CERT=../certs/cert-and-key.pem TRUST=../certs/cert-and-key.pem

this page suggest adding private key to ipxe.lkrn?

I don't see any need to add private key.

when I download file from my testing ssl site, the error code is 0216eb
then after I built with TRUST=myca, the error disappeared.
there seemed to be no need to add private key.


RE: add private key to ipxe - mcb30 - 2019-07-09 13:29

(2019-07-06 04:23)cckp Wrote:  at http://ipxe.org/err/0216eb

>> cat selfsigned-cert.pem selfsigned-key.pem > cert-and-key.pem
>> make bin/ipxe.lkrn EMBED=../syslinux.ipxe CERT=../certs/cert-and-key.pem TRUST=../certs/cert-and-key.pem

this page suggest adding private key to ipxe.lkrn?

I don't see any need to add private key.

when I download file from my testing ssl site, the error code is 0216eb
then after I built with TRUST=myca, the error disappeared.
there seemed to be no need to add private key.

No, the private key is needed only when using client certificates. I've removed the potentially misleading information from that error page. Thanks for reporting it.