Werk #18386: Agent Controller auto-registration: Baking failed for a trusted remote site
| Component | Setup | ||
| Title | Agent Controller auto-registration: Baking failed for a trusted remote site | ||
| Date | Nov 11, 2026 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
Previously, baking agents with an Agent Controller auto-registration rule that registers to a remote site could fail with
Could not load certificate for site '<site ID>'
even though the CA of the remote site was listed under Trusted certificate authorities for SSL and the Livestatus connection to that site worked fine.
The bakery takes the CA of a remote site from a store that Checkmk fills whenever you save that global setting in the GUI or via the REST API. If the setting reached the central site in another way, for example by copying configuration files or restoring a backup without the var directory, the store stays empty and the bakery has nothing to put into the agent package.
You can now repair this from the GUI: open Setup > Distributed monitoring, go to the Livestatus encryption page of the remote site and click Add to trusted CAs on the CA entry of the certificate chain. Checkmk still tells you that the CA is already trusted, but it also refreshes the store, so the next bake succeeds.