Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #14921: Add path truststore-path to environment

Component Core & setup
Title Add path truststore-path to environment
Date Nov 17, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p17 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p31 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

OpenSSL uses the openssldir option at compile-time for the default config paths. Since every site has its own configuration the openssldir cannot be set to the correct location.

In order to have use the same truststore as the site when using openssl from the commandline the SSL_CERT_FILE variable is now set to var/ssl/ca-certificates.crt for the site user. So if not specified otherwise the openssl command, run as site user, uses the same truststore as Checkmk.

To the list of all Werks