Werk #14921: Add path truststore-path to environment

Component Core & setup
Title Add path truststore-path to environment
Date Nov 17, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p31 2.1.0p17 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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