Skip to content

Commit 386a84f

Browse files
author
chenyunliang520
committed
Update GAUSSDB_TEST_DSN to include client certificate and key for SSL
1 parent 36fafd1 commit 386a84f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ Steps to Run OpenGauss(SSL) with Python GaussDB Driver Testing (Assuming Docker
361361

362362
# Set the test DSN (Data Source Name) as an environment variable
363363
export GAUSSDB_TEST_DSN="dbname=test user=root password=Password@123 host=127.0.0.1 port=8889 sslmode=require"
364-
export GAUSSDB_TEST_DSN="dbname=test user=root password=Password@123 host=127.0.0.1 port=8889 sslmode=verify-ca sslrootcert=/opengauss8889/certs/ca.crt"
364+
export GAUSSDB_TEST_DSN="dbname=test user=root password=Password@123 host=127.0.0.1 port=8889 sslmode=verify-ca sslrootcert=/opengauss8889/certs/ca.crt sslcert=/opengauss8889/certs/client.crt sslkey=/opengauss8889/certs/client.key"
365365

366366
# Run all tests using pytest, showing verbose output and test durations
367367
pytest --durations=0 -s -v

0 commit comments

Comments
 (0)