#62: Support SSL connections
--------------------------+------------------------------
Reporter: cito | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 5.1
Component: C Module | Version: 4.1
Resolution: | Keywords: security network
--------------------------+------------------------------
Comment (by cito):
As Patrick !McPhee points out on the mailing list, this is working already
via connection strings or connection URIs (passed as the `dbname`
parameter), like
{{{
db = pq.DB('dbname=livedb host=insecurehost sslmode=require')
}}}
or
{{{
db = pg.DB('postgresql://testhost/testdb?sslmode=verify-ca')
}}}
This should also work similarly for pgdb connections.
See https://www.postgresql.org/docs/9.6/static/libpq-connect.html#LIBPQ-
CONNSTRING for details on how/why this works.
So do we really need to add the ssl parameters as keyword args to the
connenct() function? Or will this suffice? In any case, we should document
it properly and close this ticket only when that is done.
--
Ticket URL: <http://trac.pygresql.org:8000/pgtracker/ticket/62#comment:2>
PyGreSQL <http://www.pygresql.org/>
PyGreSQL Tracker
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql