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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

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