External MariaDB with different port & SSL
-
Hi,
I would like to connect my FOG server to external mariadb. The external db are using different port & require certificate.
May i know how can i set this?
Thank You
WT -
@wt_101 Well the first part of this is kind of easy to answer. The file you are looking for is here /var/www/fog/fog/lib/fog/config.class.php That is where the database settings are defined. You will need to be root or sudo to edit the file.
I have no clue how to use certificates to access the mariadb vs user name and password. Its possible that FOG doesn’t support this feature.
-
Some updates i’m trying to change the below file to support SSL could anyone guide me on the correct way to set the cert? As i’m not familiar with PHP currently trying out different changes
-
I have found the correct file to change which is “pdodb.class.php”
Cert to add here
While the port can specify at $dsn