Skip to content

Commit 60fc2ce

Browse files
committed
fix: Use sslrootcert=system for SSL verification in tests
1 parent d4affb9 commit 60fc2ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

php/authentication/test/GenerateTokenTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function testTokenCanConnectToCluster(): void
3131

3232
$token = generateToken($endpoint, $region);
3333

34-
$dsn = "pgsql:host={$endpoint};port=5432;dbname=postgres;sslmode=verify-full";
34+
$dsn = "pgsql:host={$endpoint};port=5432;dbname=postgres;sslmode=verify-full;sslrootcert=system";
3535
$pdo = new PDO($dsn, 'admin', $token);
3636

3737
$stmt = $pdo->query('SELECT 1 AS result');

0 commit comments

Comments
 (0)