Re: [ipxe-devel] https booting

2020-08-03 Thread Gerd Hoffmann
Hi, > > After looking at https://ipxe.org/cfg/crosscert I'm not convinced this > > is a good idea though. This would likely put quite some load to > > ca.ipxe.org. Also that machine becomes a single point of failure for > > worldwide ipxe https boot, and looking through the mailing list I've

Re: [ipxe-devel] https booting

2020-08-03 Thread Gerd Hoffmann
On Fri, Jul 24, 2020 at 05:19:38PM +0100, Michael Brown wrote: > 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

Re: [ipxe-devel] https booting

2020-07-24 Thread Michael Brown
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

Re: [ipxe-devel] https booting

2020-07-23 Thread Daniel P . Berrangé
On Wed, Jul 22, 2020 at 03:55:38PM +0200, Gerd Hoffmann wrote: > > > How does edk2 handle the root ca problem? > > > > There are two fw_cfg paths > > > > - etc/edk2/https/ciphers > > - etc/edk2/https/cacerts > > > > The first sets the cipher algorithms that are permitted and their > >

Re: [ipxe-devel] https booting

2020-07-23 Thread Daniel P . Berrangé
On Wed, Jul 22, 2020 at 02:08:27PM +0200, Gerd Hoffmann wrote: > Hi, > > With the world moving to use https by default people start to ask for > https being enabled by default for the qemu boot roms. > > We could simply flip the DOWNLOAD_PROTO_HTTPS switch in > src/config/qemu/general.h (ipxe

Re: [ipxe-devel] https booting

2020-07-22 Thread Laszlo Ersek
On 07/22/20 16:13, Daniel P. Berrangé wrote: > On Wed, Jul 22, 2020 at 03:55:38PM +0200, Gerd Hoffmann wrote: How does edk2 handle the root ca problem? >>> >>> There are two fw_cfg paths >>> >>> - etc/edk2/https/ciphers >>> - etc/edk2/https/cacerts >>> >>> The first sets the cipher

Re: [ipxe-devel] https booting

2020-07-22 Thread Laszlo Ersek
On 07/22/20 14:08, Gerd Hoffmann wrote: > How does edk2 handle the root ca problem? It has no builtin CA certificate. HTTPS boot will not work until at least one trusted CA cert is imported. The setup TUI offers an option to import CA cert(s) from local files (which must be on such filesystems

Re: [ipxe-devel] https booting

2020-07-22 Thread Gerd Hoffmann
> > How does edk2 handle the root ca problem? > > There are two fw_cfg paths > > - etc/edk2/https/ciphers > - etc/edk2/https/cacerts > > The first sets the cipher algorithms that are permitted and their > priority, the second sets the CA certificate bundle. Ok, ipxe should be able to fetch

Re: [ipxe-devel] https booting

2020-07-22 Thread Michael Brown
On 22/07/2020 14:21, Michael Brown wrote: After looking at https://ipxe.org/cfg/crosscert I'm not convinced this is a good idea though.  This would likely put quite some load to ca.ipxe.org.  Also that machine becomes a single point of failure for worldwide ipxe https boot, and looking through

Re: [ipxe-devel] https booting

2020-07-22 Thread Michael Brown
On 22/07/2020 13:08, Gerd Hoffmann wrote: With the world moving to use https by default people start to ask for https being enabled by default for the qemu boot roms. We could simply flip the DOWNLOAD_PROTO_HTTPS switch in src/config/qemu/general.h (ipxe git repo). Note that this would only

[ipxe-devel] https booting

2020-07-22 Thread Gerd Hoffmann
Hi, With the world moving to use https by default people start to ask for https being enabled by default for the qemu boot roms. We could simply flip the DOWNLOAD_PROTO_HTTPS switch in src/config/qemu/general.h (ipxe git repo). Note that this would only affect booting in bios mode, for uefi