I've installed pgsql and set up my Laravel config/database.php as follows:

```
'connection_name' => [
    'driver' => 'pgsql',
    'host' => env('DB_HOST_2', '127.0.0.1'),
    'port' => env('DB_PORT_2', '3306'),
    'database' => env('DB_DATABASE_2'),
    'username' => env('DB_USERNAME_2'),
    'password' => env('DB_PASSWORD_2', ''),
    'sslmode' => env('DB_SSLMODE_2'),
    'charset' => 'utf8',
    'prefix' => '',
    'options' => [
        'sslcert' => '/some/special/path.crt',
    ],
    'schema' => 'public',
],

```

'connection\_name' is located in the 'connections' section of `database.php`.

In artisan tinker I get the following error because it's still looking in the default location for the SSL certificate. I cannot get it to look in the right location for the cert.

```
>>> use Illuminate\Support\Facades\DB;
>>> DB::connection('connection_name')->getPdo()
Doctrine\DBAL\Driver\PDOException with message 'SQLSTATE[08006] [7] root certificate file "/home/wes/.postgresql/root.crt" does not exist
Either provide the file or change sslmode to disable server certificate verification.'

```