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

    Certificate wrong server address

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    5
    506
    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.
    • D
      d2freak82
      last edited by

      After deploying an image - I attempted to push out a snap in which I built and it kept failing authentication saying certificate is not from Fog CA.
      My fog server is at 10.0.0.165 but the ip in the certifcate is 10.0.0.186 - that was also in the json file which I modified to show as 165.

      Why on earth would it show a different ip like that? I checked my DNS records, those are set correctly, same with my DHCP. If I ping fog-server.domain it comes back with 165.
      Not sure where this would get messy but any help would be appreciated.

      1 Reply Last reply Reply Quote 0
      • D
        d2freak82
        last edited by

        we recreated the certificate through the server it now shows the correct ip address inside the certificate, going to reimage the client and see if it takes

        1 Reply Last reply Reply Quote 0
        • D
          d2freak82
          last edited by

          once I reimaged again - it’s again trying to pull the certificate from 186, I wonder if that’s due to the image itself?
          Maybe I built the client I pulled the image from and it had my old server name in it? Only thing I can think of, although I’m not sure how

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @d2freak82 Please post the full fog-client fog.log file here.

            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

            D 1 Reply Last reply Reply Quote 0
            • D
              d2freak82 @Sebastian Roth
              last edited by

              @sebastian-roth
              I was able to figure it out - when I made the vm that I took my image from my fog-server address was different as I installed it many times trying to get it to work.
              The machine I captured the image from had the fog-client pointed to the old server, once I removed the fog-client and reinstalled with the FQDN it did the trick.
              Thank you

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

              197

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project