Hai,
[1] Path vendor\laravel\lumen-framework\config\database.php
[2] Update code database.php
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', 3306),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => env('DB_CHARSET', 'utf8mb4'),
'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'),
'prefix' => env('DB_PREFIX', ''),
'strict' => env('DB_STRICT_MODE', true),
'engine' => env('DB_ENGINE', null),
'timezone' => env('DB_TIMEZONE', '+00:00'),
'options' => array( PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => false,
PDO::MYSQL_ATTR_SSL_KEY => storage_path().'/ssl/key.pem',
PDO::MYSQL_ATTR_SSL_CERT => storage_path().'/ssl/cert.pem',
PDO::MYSQL_ATTR_SSL_CA => storage_path().'/ssl/ca.pem'),
],
[3] Copy 3 file SSL Connection to Storage Location Lumens
[4] Done