qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ipxe-devel] https booting


From: Michael Brown
Subject: Re: [ipxe-devel] https booting
Date: Fri, 24 Jul 2020 17:19:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 22/07/2020 15:13, Daniel P. Berrangé wrote:
We could easily define etc/ipxe/https/{ciphers,cacerts} paths in a
different format if better suited for iPXE. Libvirt can set the right
path depending on whether its booting a VM with EDK2 vs legacy BIOS

The most useful for iPXE would probably be to expose the fw_cfg mechanism as a URI scheme. This would give a general mechanism allowing for use cases such as running a script provided by the host via e.g.

  chain fw_cfg:///opt/org.example/script.ipxe

The ${crosscert} setting could then be pointed at a base URL within the fw_cfg space, e.g.

  #define CROSSCERT "fw_cfg:///etc/ipxe/crosscert/auto"

This would then work in the same way under either BIOS or UEFI (or other custom firmware), would provide a feature with applicability broader than just obtaining certificates, and would avoid any potential problems from allocating enough RAM to parse every root certificate from iPXE's fixed 512kB internal heap.

What do you think?

Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]