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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user