我正在链接加载iPXE(undionly.kpxe)并使用想要从HTTPS启动的embedded式脚本。
问题在于HTTPS服务器使用自签名证书通过stunnel连接到http服务器(自定义服务)
openssl req -new -x509 -days 365 -nodes -config stunnel.cnf -out stunnel.pem -keyout stunnel.pem
当它试图联系服务器时,我得到“权限被拒绝”的错误。 然而,URL从浏览器正常工作。
我试着下载http://ca.ipxe.org/ca.crt并用TRUST = ca.crt选项重新编译undionly.kpxe,但是这不起作用。
我对证书pipe理不是很熟悉。 如何让ipxe信任通讯服务器?
您需要将证书添加到ipxe使用的CA.
另一个解决scheme是创build一个专用CA(您将用来签署主机证书的根证书),然后configurationipxe来使用此CA. 请参阅: http : //ipxe.org/cfg/crosscert
最好的解决办法是由公共CA签署你的证书。