Introduction
When you add an order on the specific agent and the order is blocked (purple calor) without histroy entries and you face these errors in the Controller log :
ERROR js7.controller.agent.AgentDriver - (my_agent) Agent rejected AttachSignedItem(Signed(JobResource(JobResource:Default,HashMap(js7YadeConfigDir -> env('JS7_YADE_CONFIG_DIR')
or
ERROR js7.controller.agent.AgentDriver - (my_agent) Agent rejected AttachOrder
Troubleshooting
The Agent is the component in JS7 that executes workflows, stores information about execution results and order state transitions in its journal and passes results to the Controller.
The Agent has to have a certificate to verify the signature of each deployment with a low-security level.
This certificate is included with the ./config/trusted-x509-certificates directory from a sos *.pem file. And have to be available on the Agent var directory otherwise the Agent cannot verify the deployment
Solution
You have to copy the trusted certificates from ./config/trusted-x509-certificates to the var directory of your agent in var_<port>/config