Add support for PostgreSQL TLS (#4262)

This commit adds support for PostgreSQL TLS communication. This requires /etc/fusionpbx/config.php to have two parameters added:

$db_secure = true;
$db_cert_authority = "/path/to/ca.crt";
This commit is contained in:
jpattWPC
2019-06-05 21:10:58 -06:00
committed by FusionPBX
parent e2d6f5520d
commit 7937f72ed3
5 changed files with 52 additions and 4 deletions
+2
View File
@@ -222,6 +222,8 @@ if (!class_exists('domains')) {
$db_name = $config->db_name;
$db_username = $config->db_username;
$db_password = $config->db_password;
$db_secure = $config->db_secure;
$db_cert_authority = $config->db_cert_authority;
$db_host = $config->db_host;
$db_path = $config->db_path;
$db_port = $config->db_port;