Added token in pandora_server conf file
This commit is contained in:
parent
7eb7ccefc1
commit
4b1fd315c5
|
@ -743,3 +743,6 @@ alertserver_queue 0
|
||||||
|
|
||||||
tentacle_service_watchdog 1
|
tentacle_service_watchdog 1
|
||||||
|
|
||||||
|
# Enable (1) or disable (0) the parameter of mysql ssl certification (mysql_ssl_verify_server_cert) (enabled by default).
|
||||||
|
|
||||||
|
verify_mysql_ssl_cert 1
|
|
@ -1661,9 +1661,12 @@ sub set_ssl_opts($) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Enable SSL.
|
# Enable SSL.
|
||||||
$SSL_OPTS = "mysql_ssl=1;mysql_ssl_optional=1;mysql_ssl_verify_server_cert=1";
|
$SSL_OPTS = "mysql_ssl=1;mysql_ssl_optional=11";
|
||||||
|
|
||||||
# Set additional SSL options.
|
# Set additional SSL options.
|
||||||
|
if (defined($pa_config->{'verify_mysql_ssl_cert'}) && $pa_config->{'verify_mysql_ssl_cert'} ne "") {
|
||||||
|
$SSL_OPTS .= ";mysql_ssl_verify_server_cert=$pa_config->{'verify_mysql_ssl_cert'}";
|
||||||
|
}
|
||||||
if (defined($pa_config->{'dbsslcapath'}) && $pa_config->{'dbsslcapath'} ne "") {
|
if (defined($pa_config->{'dbsslcapath'}) && $pa_config->{'dbsslcapath'} ne "") {
|
||||||
$SSL_OPTS .= ";mysql_ssl_ca_path=" . $pa_config->{'dbsslcapath'};
|
$SSL_OPTS .= ";mysql_ssl_ca_path=" . $pa_config->{'dbsslcapath'};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue