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

Problem with HTTPS upgrade

Scheduled Pinned Locked Moved Solved
FOG Problems
7
86
20.6k
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.
  • S
    Sebastian Roth Moderator
    last edited by Aug 7, 2017, 9:40 PM

    @sbenson said in Problem with HTTPS upgrade:

    @sebastian-roth Ok, this was working on 1.3.0 rc like 15 or something. Upgrading to 1.5.0-rc4 seemes to have broken this.

    What exactly do you mean by “broken”?? Please post a picture of the error you see!

    The tftpd message you see in syslog is just kind of a warning. Nothing serious and definitely not causing the problem.

    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

    S 1 Reply Last reply Aug 8, 2017, 12:23 AM Reply Quote 1
    • S
      sbenson @Sebastian Roth
      last edited by Aug 8, 2017, 12:23 AM

      @sebastian-roth

      Configuring (net0 MA:CA:DD:RE:SS:00)..... ok
      Received DHCP answer on interface net0
      tftp://10.64.76.44/default.ipxe... ok
      https://10.63.76.44/fog/service/ipxe/boot.php... No such file or directory (http://ipxe.org/2d0c613b)
      Could not boot: No such file or directory (http://ipxe.org/2d0c613b)
      
      T G 3 Replies Last reply Aug 8, 2017, 12:34 AM Reply Quote 0
      • T
        Tom Elliott @sbenson
        last edited by Aug 8, 2017, 12:34 AM

        @sbenson said in Problem with HTTPS upgrade:

        https://10.63.76.44/fog/service/ipxe/boot.php

        And if you goto the link as is directly in the browser?

        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

        S 1 Reply Last reply Aug 8, 2017, 4:04 PM Reply Quote 0
        • T
          Tom Elliott @sbenson
          last edited by Aug 8, 2017, 12:37 AM

          @sbenson What I’m seeing off the bat:

          tftp://10.64.76.44/default.ipxe… ok

          VS default.ipxe forwarding to:
          https://10.63.76.44/fog/service/ipxe/boot.php

          (10.64.76.44 vs. 10.63.76.44)

          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

          S 1 Reply Last reply Aug 8, 2017, 4:07 PM Reply Quote 2
          • G
            george1421 Moderator @sbenson
            last edited by Aug 8, 2017, 1:09 AM

            @sbenson Please check the content of your /tftpboot/default.ipxe file. Did you happen by chance make a type-o when you installed fog or changed it IP address after you installed FOG? If so there are steps you need to take to get all of the bits back in alignment.

            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!

            S 1 Reply Last reply Aug 8, 2017, 4:21 PM Reply Quote 0
            • S
              sbenson @Tom Elliott
              last edited by Aug 8, 2017, 4:04 PM

              @tom-elliott

              @tom-elliott said in Problem with HTTPS upgrade:

              @sbenson said in Problem with HTTPS upgrade:

              https://10.63.76.44/fog/service/ipxe/boot.php

              And if you goto the link as is directly in the browser?

              #!ipxe
              set fog-ip 10.63.76.44
              set fog-webroot fog
              set boot-url http://${fog-ip}/${fog-webroot}
              cpuid --ext 29 && set arch x86_64 || set arch i386
              goto get_console
              :console_set
              colour --rgb 0x00567a 1 ||
              colour --rgb 0x00567a 2 ||
              colour --rgb 0x00567a 4 ||
              cpair --foreground 7 --background 2 2 ||
              goto MENU
              :alt_console
              cpair --background 0 1 ||
              cpair --background 1 2 ||
              goto MENU
              :get_console
              console --picture http://10.63.76.44/fog/service/ipxe/lbs-fog-bg.png --left 100 --right 80 && goto console_set || goto alt_console
              :MENU
              menu
              colour --rgb 0xff0000 0 ||
              cpair --foreground 1 1 ||
              cpair --foreground 0 3 ||
              cpair --foreground 4 4 ||
              item --gap Host is NOT registered!
              item --gap -- -------------------------------------
              item fog.local Boot from hard disk
              item fog.memtest Run Memtest86+
              item fog.reginput Perform Full Host Registration and Inventory
              item fog.reg Quick Registration and Inventory
              item fog.deployimage Deploy Image
              item fog.multijoin Join Multicast Session
              item fog.sysinfo Client System Information (Compatibility)
              choose --default fog.local --timeout 10000 target && goto ${target}
              :fog.local
              sanboot --no-describe --drive 0x80 || goto MENU
              :fog.memtest
              kernel memdisk initrd=memtest.bin iso raw
              initrd memtest.bin
              boot || goto MENU
              :fog.reginput
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=10.63.76.44/fog/ consoleblank=0 rootfstype=ext4 storage=10.63.76.44:/images/ storageip=10.63.76.44 loglevel=4 mode=manreg
              imgfetch init_32.xz
              boot || goto MENU
              :fog.reg
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=10.63.76.44/fog/ consoleblank=0 rootfstype=ext4 storage=10.63.76.44:/images/ storageip=10.63.76.44 loglevel=4 mode=autoreg
              imgfetch init_32.xz
              boot || goto MENU
              :fog.deployimage
              login
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              param username ${username}
              param password ${password}
              param qihost 1
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              param sysuuid ${uuid}
              :fog.multijoin
              login
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              param username ${username}
              param password ${password}
              param sessionJoin 1
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              param sysuuid ${uuid}
              :fog.sysinfo
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=10.63.76.44/fog/ consoleblank=0 rootfstype=ext4 storage=10.63.76.44:/images/ storageip=10.63.76.44 loglevel=4 mode=sysinfo
              imgfetch init_32.xz
              boot || goto MENU
              :bootme
              chain -ar http://10.63.76.44/fog/service/ipxe/boot.php##params ||
              goto MENU
              autoboot
              
              1 Reply Last reply Reply Quote 0
              • S
                sbenson @Tom Elliott
                last edited by sbenson Aug 8, 2017, 10:30 AM Aug 8, 2017, 4:07 PM

                @tom-elliott said in Problem with HTTPS upgrade:

                (10.64.76.44 vs. 10.63.76.44)

                This was a typo when I transposed the ipxe screen to here. Posting images wasnt working for me
                0_1502209831244_FogIPXE2.png

                1 Reply Last reply Reply Quote 0
                • S
                  sbenson @george1421
                  last edited by sbenson Aug 8, 2017, 10:22 AM Aug 8, 2017, 4:21 PM

                  @george1421 said in Problem with HTTPS upgrade:

                  @sbenson Please check the content of your /tftpboot/default.ipxe file. Did you happen by chance make a type-o when you installed fog or changed it IP address after you installed FOG? If so there are steps you need to take to get all of the bits back in alignment.

                  Typo when putting the info in this ticket. the IP of the server is 10.63.76.44

                  #!ipxe
                  cpuid --ext 29 && set arch x86_64 || set arch i386
                  params
                  param mac0 ${net0/mac}
                  param arch ${arch}
                  param platform ${platform}
                  param product ${product}
                  param manufacturer ${product}
                  param ipxever ${version}
                  param filename ${filename}
                  param sysuuid ${uuid}
                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                  :bootme
                  chain https://10.63.76.44/fog/service/ipxe/boot.php##params
                  
                  T 1 Reply Last reply Aug 8, 2017, 4:48 PM Reply Quote 0
                  • T
                    Tom Elliott @sbenson
                    last edited by Aug 8, 2017, 4:48 PM

                    @sbenson
                    Can you please read this:

                    http://ipxe.org/err/2d0c61

                    You’ll likely need to build the file with the CA file itself, typically located in ca.cert.der (/var/www/fog/management/other/ca.cert.der)

                    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
                    • S
                      Sebastian Roth Moderator
                      last edited by Aug 8, 2017, 4:57 PM

                      @sbenson Well, compare the URLs again. The one xou opened in your browser is HTTPS and the other one called by ipxe is HTTP…

                      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
                      • S
                        sbenson
                        last edited by Aug 8, 2017, 6:03 PM

                        @sebastian-roth said in Problem with HTTPS upgrade:

                        @sbenson Well, compare the URLs again. The one xou opened in your browser is HTTPS and the other one called by ipxe is HTTP…

                        I updated the default.ipxe to use https. as seen in the previous post.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Aug 9, 2017, 5:05 AM

                          @sbenson So is this solved then?

                          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

                          S 1 Reply Last reply Aug 9, 2017, 4:54 PM Reply Quote 0
                          • S
                            sbenson @Sebastian Roth
                            last edited by Aug 9, 2017, 4:54 PM

                            @sebastian-roth No, now the ipxe boot screen says https, and still doesn’t work. I have not re-created the SSL cert as Tom said.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Sebastian Roth Aug 10, 2017, 6:45 AM Aug 9, 2017, 5:34 PM

                              @sbenson What Tom was saying is not re-creating the SSL certs but compiling your own iPXE binaries with the cert included…

                              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
                              • S
                                sbenson
                                last edited by Aug 9, 2017, 11:07 PM

                                I am not sure how to recompile ipxe. I did just upgrade from RC4 to RC7 and it didn’t help. I have done a git pull and dont see anywhere to compile it

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator @Sebastian Roth
                                  last edited by Aug 10, 2017, 12:46 PM

                                  @sebastian-roth said in Problem with HTTPS upgrade:

                                  @sbenson This command is used to compile an iPXE binary from the source code and add the SSL certificate to it. Instructions on how to do this you can find in the wiki. Those instructions are for legary (undionly.kpxe) as well as for 32 bit UEFI and 64 bit UEFI. make sure you compile and put the correct ones into your /tftpboot directory. Possibly you want to compile all three if you have all those different clients. Let us know if you need help. Please post exact command and steps you tried and the error message you see. Then we will surely be able to help.

                                  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

                                  S 1 Reply Last reply Aug 10, 2017, 4:54 PM Reply Quote 0
                                  • S
                                    sbenson @Sebastian Roth
                                    last edited by Aug 10, 2017, 4:54 PM

                                    @sebastian-roth
                                    FYI the wiki is wrong for the efi portion
                                    It has the wgets listed as
                                    http://sourceforge.net/p/freeghost/code/HEAD/tree/trunk/src/ipxe-efi/src/config/…

                                    and should be

                                    http://sourceforge.net/p/freeghost/code/HEAD/tree/trunk/src/ipxe/src-efi/config/…

                                    S 1 Reply Last reply Aug 10, 2017, 6:23 PM Reply Quote 0
                                    • S
                                      sbenson @sbenson
                                      last edited by sbenson Aug 10, 2017, 12:39 PM Aug 10, 2017, 6:23 PM

                                      OK, all files compiled with the the certs, now when I select deploy images, it instantly switches back to the fog main screen. I am still trying to figure out why, nothing in /var/log or /var/log/fog.

                                      I am doing a quick registration to see if it deploys through there. And it fails to register

                                      https://www.youtube.com/watch?v=J9UqiiQzvX0

                                      T 1 Reply Last reply Aug 10, 2017, 6:25 PM Reply Quote 0
                                      • T
                                        Tom Elliott @sbenson
                                        last edited by Aug 10, 2017, 6:25 PM

                                        @sbenson Can you create a backup of your /tftpboot folder.

                                        I’d also ask that you update to the latest rc please. I added, after rc4 I think, the links will change for the protocol being requested. rc4 still caused defaults to jump to http for internal links.

                                        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

                                        S 1 Reply Last reply Aug 10, 2017, 6:40 PM Reply Quote 0
                                        • T
                                          Tom Elliott
                                          last edited by Aug 10, 2017, 6:26 PM

                                          Create a backup of your current /tftpboot say as /tftpboot_persSigned.

                                          Upgrade.

                                          Once upgrade complete do:

                                          mv /tftpboot /tftpboot_orig
                                          mv /tftpboot{_persSigned,}
                                          

                                          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

                                          S 1 Reply Last reply Aug 10, 2017, 7:01 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 1 / 5
                                          1 / 5
                                          • First post
                                            17/86
                                            Last post

                                          138

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project