Added OpenSSL package to server and sqlite3 images. Required to perform rehash of added CA certificates

This commit is contained in:
Alexey Pustovalov
2025-01-16 13:53:02 +09:00
parent 792e0270a1
commit df3dbcc479
39 changed files with 66 additions and 0 deletions

View File

@ -50,6 +50,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
iputils-ping \
traceroute \
fping \
openssl \
libcurl4t64 \
libevent-2.1 \
libmysqlclient21 \

View File

@ -551,6 +551,8 @@ update_zbx_config() {
else
update_config_var $ZBX_CONFIG "AllowRoot" "1"
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "$ZABBIX_USER_HOME_DIR/ssl/ssl_ca/" 1>/dev/null
}
clear_zbx_env() {