@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.