From 453c817cfdd570143dd3be735f8c4f76ae5e3258 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 7 Mar 2019 11:27:57 +0000 Subject: [PATCH] boot.ipfire.org: Only use HTTP There is no chance that iPXE supports HTTPS reliably. Certificates cannot be validated, PFS is not supported at all. I guess this is just the same as disabling HTTPS at all and at least have a working service. Signed-off-by: Michael Tremer --- src/backend/releases.py | 8 ++++---- src/web/boot.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backend/releases.py b/src/backend/releases.py index 8aaf599d..59355eae 100644 --- a/src/backend/releases.py +++ b/src/backend/releases.py @@ -397,18 +397,18 @@ class Release(Object): assert self.supports_platform(platform) if self.sname >= "ipfire-2.19-core100": - return "https://boot.ipfire.org/%s/images/%s/vmlinuz" % (self.path, arch) + return "http://boot.ipfire.org/%s/images/%s/vmlinuz" % (self.path, arch) - return "https://boot.ipfire.org/%s/images/vmlinuz" % self.path + return "http://boot.ipfire.org/%s/images/vmlinuz" % self.path def netboot_initrd_url(self, arch, platform): assert self.supports_arch(arch) assert self.supports_platform(platform) if self.sname >= "ipfire-2.19-core100": - return "https://boot.ipfire.org/%s/images/%s/instroot" % (self.path, arch) + return "http://boot.ipfire.org/%s/images/%s/instroot" % (self.path, arch) - return "https://boot.ipfire.org/%s/images/instroot" % self.path + return "http://boot.ipfire.org/%s/images/instroot" % self.path def netboot_args(self, arch, platform): return "" diff --git a/src/web/boot.py b/src/web/boot.py index c3372244..232a104f 100644 --- a/src/web/boot.py +++ b/src/web/boot.py @@ -66,7 +66,7 @@ class MenuGPXEHandler(BootBaseHandler): self.write("set 209:string premenu.cfg?arch=%s&platform=%s\n" \ % (self.arch, self.platform)) - self.write("set 210:string https://boot.ipfire.org/\n") + self.write("set 210:string http://boot.ipfire.org/\n") self.write("chain pxelinux.0\n") def serve_update(self): -- 2.47.3