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

    Private Key Failed - New FOG Client

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    6
    1.5k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      SVN 4520 Cloud 5698
      Fedora 23 Server

      0_1449771638954_fog.log

      This server was migrated from Fedora 21. I may or may not have done everything right…

      The new server has the same IP as the old one, I copied over the /opt/fog/snapins/ssl directory to the new server but later found out that there was a cert in /var/www/html/fog/management/other/ssl/srvpublic.crt that was needed.

      To fix that earlier error, I’ve set the CaCreated=“No” and re-ran the fog installer, and then I’ve uninstalled and re-installed the New Fog Client version 0.9.9 onto this Windows 7 laptop a few times with no luck.

      @Developers

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

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

        @Wayne-Workman Because the original install likely created a certificate pair based on the then proper private key, and you replaced it, I would actually recommend rerunning the FOG installer. CACreated=NO will overwrite the CA. SO you need to set CACreated=“Yes”, then copy over the snapins/{ssl,CA} then rerun the installer.

        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

        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @Tom Elliott
          last edited by

          @Tom-Elliott Forgive me for not knowing, exactly what am I copying and to where?

          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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by Wayne Workman

            So - to migrate correctly, you must copy /opt/fog/snappins/ssl and /opt/fog/snapins/CA

            If you don’t care about maintaining control of clients and don’t care about having to reinstall the fog client on every machine to re-gain control (or imaging them) then you can use ./installfog.sh -CK

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              Still not having luck…

              I’ve ran ./installfog.sh -C and ./installfog.sh -CK

              I’ve uninstalled, rebooted, and reinstalled FOG Client version 0.9.9 several times. The logs say this now:

              0_1449774882759_fog.log

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by Wayne Workman

                Got this solved.

                I removed both the CA and ssl directories totally, and then reran the installer with the recreate ca and ssl keys arguments, reinstalled the client once more and one reboot later, it’s working.

                rm -rf /opt/fog/snapins/CA
                rm -rf /opt/fog/snapins/ssl
                ./installfog.sh -yCK

                @Developers I wonder if the installer properly removes the old stuff when the -CK arguments are used?

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

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

                136

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project