ipxe / ipxe

iPXE network bootloader
https://ipxe.org
Other
1.48k stars 642 forks source link

SSL - Microsoft PKI #1228

Closed christoph-wijns closed 4 months ago

christoph-wijns commented 4 months ago

Hello,

I'm fully aware that my problem is not ipxe related but I need some help. We are using IPXE for quite a time without no issues. The one thing that I'm fighting with is SSL. Our infrastructure turns on Microsoft IIS & WDS. Enable Secure Boot encrypt traffic SSL with private certificate.

Sure I'm able to route the traffic https wise with a webserver certificate. But I don't see which certificate I need to bake into snponly.efi. I can create a Computer Certificate - export pfx and use openssl to extract the necessary parts (TRUST-CERT-KEY) (ex. https://www.ibm.com/docs/en/arl/9.7?topic=certification-extracting-certificate-keys-from-pfx-file).

After that I'm able to make bin-x86_64-efi/snponly.efi CERT=myca.pem TRUST=myca.pem EMBED=mybootscript.ipxe but obviously that doesn't work ;)

So the main questions are

Background I'm a MS system engineer set up infrastructure and responsable for OS Deployments at our department but not a GURU @ IPXE & SSL so please be gentle ;)

Thanks

Christoph

computer_cert

computer_cert_2