diff --git a/config/database.php b/config/database.php index 22347a41..a6c2fabc 100644 --- a/config/database.php +++ b/config/database.php @@ -54,6 +54,9 @@ return [ 'prefix_indexes' => true, 'strict' => true, 'engine' => null, + 'options' => array_filter([ + PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]), ], 'pgsql' => [