Add support for ssl_verify.

This commit is contained in:
Ramon Novoa 2023-10-13 18:44:47 +02:00
parent 3479245a6b
commit 9579f5159d
1 changed files with 5 additions and 0 deletions

View File

@ -579,6 +579,8 @@ sub pandora_load_config {
$pa_config->{"repl_dbuser"} = undef; # 7.0.770
$pa_config->{"repl_dbpass"} = undef; # 7.0.770
$pa_config->{"ssl_verify"} = 1; # 7.0 774
# Check for UID0
if ($pa_config->{"quiet"} != 0){
if ($> == 0){
@ -1387,6 +1389,9 @@ sub pandora_load_config {
elsif ($parametro =~ m/^repl_dbpass\s(.*)/i) {
$pa_config->{'repl_dbpass'} = clean_blank($1);
}
elsif ($parametro =~ m/^ssl_verify\s+([0-1])/i) {
$pa_config->{'ssl_verify'} = clean_blank($1);
}
} # end of loop for parameter #
# The DB host was overridden by pandora_ha.