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

    1.6.0.158 unable to approve agent

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    2 Posts 2 Posters 8 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.
    • C
      chscduo
      last edited by chscduo

      Hi,

      On a debian 12 server, I’m unable to approve pending agent, I have a signing failed error.
      I use a valid token on host (Ubuntu 26.04), the agent is waiting for approval (known-host-no-agent) but each time I try to approve this error message appears.
      169c6e22-022e-4dd4-8a44-90dca693afb3-image.png

      If I deny the agent, it works, agent is denied on the host :
      6b650aad-5c30-4d7d-9af9-66d0edc80c5e-image.png

      Here is the agent status :
      53389952-fe54-45c5-a076-52e33b6c765c-image.png

      I tried several times with CA fingerprint, with token, reinstall Fog, update to 1.6.0.158 etc. I’m still stuck with agent approval.

      Where can I see more logs about this problem ?
      Do you have any idea ?

      Thanks for your help

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

        @chscduo The approval fails at the step where the server signs the agent’s certificate. In 1.6.0.158 the server hides OpenSSL’s reason, so you see only “signing failed”. The next dev-branch build shows the reason.

        Please run these two commands as root on the FOG server and post both outputs:

        openssl x509 -noout -pubkey -in /etc/fog/pki/agent/ca/.fogAgentCA.pem | sha256sum
        openssl pkey -pubout -in /etc/fog/pki/agent/ca/.fogAgentCA.key | sha256sum
        

        The two hashes must be the same. If they are different, the agent CA key does not match its certificate.

        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

        38

        Online

        12.8k

        Users

        17.7k

        Topics

        157.4k

        Posts
        Copyright © 2012-2026 FOG Project