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


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?



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'] = ';port=3312';

Hope it helps.