1.6.0.158 unable to approve agent
-
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.

If I deny the agent, it works, agent is denied on the host :

Here is the agent status :

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
-
@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 | sha256sumThe two hashes must be the same. If they are different, the agent CA key does not match its certificate.