Connecting To Remote database with PDO connection and ca certificate (SSL)

Hi,

There is no SSL connection setting in config.local.php, what is the file that needs to be modified to implement certificate path to connect to the external database with SSL connection?

Thanks

Hello!

The certificate should be added to the list of the root trusted certificates at your server’s side. For example, you can follow the steps from the following article:

In case the remote server with the database of your store uses port different from 3307, you can specify it directly in the db_host config entry. For example:

$config['db_host'] = '172.16.209.12;port=3312';

Hope it helps.