-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
In this example I have pgbouncer running on port 6932. I can connect using psql on SSL mode, but this script fails:
andrew@ad-c7:test $ psql "sslmode=verify-full host=localhost port=6932 dbname=workdb sslcert=myCA/curly.crt sslkey=myCA/curly.key sslrootcert=myCA/root.crt user=curly"
psql (11beta3 (2ndQPG 11.0r1.2))
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES128-GCM-SHA256, bits: 128, compression: off)
Type "help" for help.
workdb=> \q
andrew@ad-c7:test $ python postgres_get_server_cert.py localhost:6932
Something failed while fetching certificate: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:579)
andrew@ad-c7:test $
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels