• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    could not load the secure boot enrollment menu

    Scheduled Pinned Locked Moved Solved FOG Problems
    14 Posts 2 Posters 26 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tom ElliottT
      Tom Elliott @robertkwild
      last edited by

      @robertkwild Good, that screen is MokManager, so the fix worked.

      1. Pick the last entry, iPXE. That is the network copy of the key.
      2. Pick MOK.der.
      3. Optional: View key 0 shows the certificate. Check it names your FOG server, then press a key.
      4. Pick Continue, then Yes.
      5. Pick Reboot.

      Do not wait on these screens. MokManager reboots on its own if it sits idle.

      After the reboot, PXE boot as normal. A Secure Boot task should now load the kernel.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      R 1 Reply Last reply Reply Quote 0
      • R robertkwild has marked this topic as solved
      • R
        robertkwild @Tom Elliott
        last edited by

        @Tom-Elliott but do i need to enroll the machine to capture/deploy an image?

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @robertkwild
          last edited by

          @robertkwild No, only need to enroll if you want to use Secureboot (after enrollment)?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          R 1 Reply Last reply Reply Quote 0
          • R
            robertkwild @Tom Elliott
            last edited by robertkwild

            @Tom-Elliott

            i get this now when i do a quick enrollment

            a502cf7e-c1a3-4d15-99f8-b734db54abcc-image.png

            very wierd, when i pxebooted i got a black screen cli (different from the usual white gui one)

            i restarted again (got the correct white screen gui), clicked on “quick enrollment”, went back to the web portal and cliked “all hosts” and i could see the host it added

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @robertkwild
              last edited by

              @robertkwild The enrollment step worked. This new error is a network timeout, not Secure Boot.

              4c0a6092 means the server never answered the kernel (bzImage) download. iPXE checks the Secure Boot signature only after the download finishes. So this error says nothing about the key yet.

              Please run these two commands on the FOG server and post the output.

              First, check that the server can send the kernel at all:

              curl -s -o /dev/null -w '%{http_code} %{size_download}\n' http://10.110.10.60/fog/service/ipxe/bzImage
              

              Then try Quick Registration on the laptop again, and right after it fails, run:

              sudo grep bzImage /var/log/apache2/access.log /var/log/nginx/access.log /var/log/httpd/access_log 2>/dev/null | tail -n 5
              

              If the log has no line from the laptop’s IP, the request never reached the web server. If it has a 200 with a small byte count, the transfer started and then dropped.

              To answer your earlier question: once a Secure Boot task boots past bzImage into FOS, the key is enrolled. If it were not enrolled, you would get a security error after the download, not a timeout.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              R 1 Reply Last reply Reply Quote 0
              • R
                robertkwild @Tom Elliott
                last edited by robertkwild

                @Tom-Elliott ok ive got somewhere

                so i did “quick enrollment” and now i see it on the web portal

                after i did “enroll secure boot key”

                went back on the host on the web portal and i dont see the key its enrolled

                11e8d1fd-0f6a-4e9a-b32d-181bf3369eb6-image.png

                answer to your questions

                curl -s -o /dev/null -w '%{http_code} %{size_download}\n' http://10.110.10.60/fog/service/ipxe/bzImage
                200 11063696
                

                cant do the other one as now its registered the host on fog

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @robertkwild
                  last edited by

                  @robertkwild Good progress. The server sends the full kernel (200 11063696), and registration booted FOS, so the earlier timeout was a one-off. If it comes back, post the screen and the access log line from that moment.

                  The empty Secure Boot fields on the host page are expected. The “Enroll Secure Boot Key” menu item enrolls the key in the laptop’s firmware through MokManager. FOG is not part of that step, so nothing reports back to the server.

                  Two ways to fill them in:

                  • Let FOS check and record it. On the host, create an “Enroll Secure Boot” task and PXE boot the laptop. FOS sees the key is already trusted, enrolls nothing, and records the state, the date, and the certificate fingerprint.
                  • Type it in. Set “Secure Boot Enrolled” to today’s date and “Enrolled Via” to mok, then click Update. mok means a person confirmed the key in MokManager, which is what you did.

                  I’d use the task, because it checks the key instead of trusting a typed value.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    robertkwild @Tom Elliott
                    last edited by robertkwild

                    @Tom-Elliott lovely

                    what i did once i registered the host i clicked on “task” and clicked “enroll secure boot”

                    and now i see all the info now once its enrolled secure boot, i see all the info once i refresh the host on fog web portal

                    so tom, tbh i dont get it, why do you have to “enroll secure boot” on a host, do i need to to capture or deploy images?

                    as my main goal is to capture/deploy images to hosts when “secure boot” is on/ticked in bios

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @robertkwild
                      last edited by

                      @robertkwild Glad it’s all showing now.

                      You need enrollment only if Secure Boot stays ON in the machine’s firmware.

                      With Secure Boot on, the firmware runs only what it trusts. Out of the box that means Microsoft-signed code. The FOG kernel (FOS) is signed with your FOG server’s own key, which the machine does not know. Enrollment adds that key to the machine’s trusted list. After that, the machine boots FOS, so capture and deploy work with Secure Boot left on.

                      With Secure Boot off, the machine runs anything, and you can capture and deploy without enrolling.

                      So the choice is:

                      • Enroll once per machine and leave Secure Boot on. The key lives in the firmware, not on the disk, so a reimage does not remove it.
                      • Turn Secure Boot off for imaging and back on afterwards. That is a trip into the BIOS on every machine, every time. On a BitLocker machine, changing the Secure Boot setting can also trigger a recovery key prompt.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        robertkwild @Tom Elliott
                        last edited by

                        @Tom-Elliott makes sense

                        as going forward we do need secure boot on for sophos endpoint for bitlocker

                        so does that mean if i delete the host from the web portal i need to re register it if i want to deploy or capture a new image?

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @robertkwild
                          last edited by Tom Elliott

                          @robertkwild To be clearer on the delete case:

                          • The key stays. It lives in the laptop’s firmware, so deleting the host in FOG does not remove it. You do not need to enroll again.
                          • Deploy works without the host. “Deploy Image” on the PXE menu shows for unregistered machines. It asks for your FOG login and the image.
                          • Capture needs the host. You schedule a capture from the host’s page, so register the machine again first (Quick Registration, one boot).

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          71

                          Online

                          12.8k

                          Users

                          17.7k

                          Topics

                          157.2k

                          Posts
                          Copyright © 2012-2026 FOG Project