]> git.ipfire.org Git - ipfire.org.git/commitdiff
boot.ipfire.org: Only use HTTP
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2019 11:27:57 +0000 (11:27 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2019 11:27:57 +0000 (11:27 +0000)
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 <michael.tremer@ipfire.org>
src/backend/releases.py
src/web/boot.py

index 8aaf599d112eda88e0beb4857767acc69ef5df8c..59355eae2bad7ab8d515f3cfe19ff25434fb5efc 100644 (file)
@@ -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 ""
index c33722443c5acd91da253fb15d3400106439b5b3..232a104fcda3cd7d60d9a78119ff42edd29b0491 100644 (file)
@@ -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):