I haven't mentioned any of
~/.postgresql/{root.crt,postgresql.crt,postresql.key} even though they
are checked for in the code, since they do not appear to be supported. I
base this on discussions in pgsql-hackers.
Dominic Mitchell
connection.
SSL>
sortas="libpq">with libpq>
+
+ Please note that
SSL> support in libpq covers
+ encryption only. It will not verify the validity of the
+ certificate presented by the server that you are connecting to,
+ nor verify that the hostname matches that of the server's
+ certificate. Additionally, there is no support for client
+ certificates.
+