Revert "Do not enforce SSL."

This reverts commit 6b0aa45ebc.
This commit is contained in:
Ramon Novoa 2021-05-17 13:36:58 +02:00
parent 6b0aa45ebc
commit c3d81b7d4b
1 changed files with 1 additions and 1 deletions

View File

@ -1558,7 +1558,7 @@ sub set_ssl_opts($) {
}
# Enable SSL.
$SSL_OPTS = "mysql_ssl=1;mysql_ssl_verify_server_cert=1";
$SSL_OPTS = "mysql_ssl=1;mysql_ssl_optional=0;mysql_ssl_verify_server_cert=1";
# Set additional SSL options.
if (defined($pa_config->{'dbsslcapath'}) && $pa_config->{'dbsslcapath'} ne "") {