Possible specify PSK key using full path to file

(cherry picked from commit 8bed89afce)
This commit is contained in:
Alexey Pustovalov
2021-11-22 15:32:57 +02:00
parent b43a800aaa
commit cf1a44fbec
30 changed files with 30 additions and 30 deletions

View File

@ -97,7 +97,7 @@ update_config_var() {
fi
# Use full path to a file for TLS related configuration parameters
if [[ $var_name =~ ^TLS.*File$ ]]; then
if [[ $var_name =~ ^TLS.*File$ ]] && [[ ! $var_value =~ ^/.+$ ]]; then
var_value=$ZABBIX_USER_HOME_DIR/enc/$var_value
fi