Werk #16404: omd cp: Fix etc/ssl/agents/legacy_ca.pem Points to Source of Copy

Component Site management
Title omd cp: Fix etc/ssl/agents/legacy_ca.pem Points to Source of Copy
Date Feb 14, 2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0p26 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Since Checkmk 2.2.0 there is a agent CA located in etc/ssl/agents/. This CA is different from the site CA. In particular, if updating from 2.1.0 to 2.2.0, Checkmk will create a symlink etc/ssl/agents/legacy_ca.pem, which points to etc/ssl/ca.pem. After performing an omd cp. This symlink would still point to the site, which was the source of the copy. The symlink is now relative. If the site was created with version 2.2.0 or above no symlink is needed.

To the list of all Werks