Werk #14921: Add path truststore-path to environment

Komponente Core & setup
Titel Add path truststore-path to environment
Datum 17.11.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1 2.1.0p17 2.0.0p31
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks