...
Info |
---|
If your Checkmk Server is using HTTPS, and you're using the Agent Bakery, your SSL Certificate will expire at some time. If the you need to be careful when exchanging the HTTPS certificate of your Checkmk server. If the root CA for the new certificate stays the same, this should be no problem for the Agent Bakery. However, if the CA changes, or if you change a single standalone self-signed certificate, you must follow some extra steps. |
...
Background information regarding this subject is available on our:
Step-by-step guide
...
- Get new certificate
- Check if the certificate chain has changed. If:This means either your root certificate or an intermediate certificate have changed.
- Yes: Jump to step 3
- No: Jump to step 4
- The chain or a single the standalone self-signed certificate has changed:
- Add the new chain to the Agent Updater (do NOT replace the old chain!).
- Bake and sign agents.
- Wait until all agents have updated
Jump . Make sure to verify this! - Proceed to step 4.
- Add the new chain to the Agent Updater (do NOT replace the old chain!).
- The chain did not change, or step 3 was donecompeted:
- Restrict Auto Updates agent updates to only 2 or 3 hosts, to double-check, so if something goes wrong, you do not mess up everythingeverything works as expected.
Deploy the new certificate to the Apache server.
For Checkmk Appliances: Click on Device Settings → Web Access → Upload CertificateTip For more information about Appliances and SSL certificates, please refer to our Official Documentation..
- Check for the correct cert and chain by using a browser.
- Make sure Auto Update agent update works for the test hosts.
- If the chain changed (see step 3), remove the old chain from the updater rule, bake & sign agents, and see if everything works with the test hosts.
- Remove the restriction to the test hosts and update all agents.
- Restrict Auto Updates agent updates to only 2 or 3 hosts, to double-check, so if something goes wrong, you do not mess up everythingeverything works as expected.
Verification
The following can help determine if the certificates of an agent match the certs of the Checkmk server.
...