Re: ssl database connection problems... - Mailing list pgsql-admin

From Ray Stell
Subject Re: ssl database connection problems...
Date
Msg-id 20081230023630.GA19239@cns.vt.edu
Whole thread Raw
In response to ssl database connection problems...  (Carol Walter <walterc@indiana.edu>)
Responses Re: ssl database connection problems...  (Carol Walter <walterc@indiana.edu>)
Re: ssl database connection problems...  (Carol Walter <walterc@indiana.edu>)
List pgsql-admin
On Mon, Dec 29, 2008 at 04:23:30PM -0500, Carol Walter wrote:
> "with openssl" when I initially configured the server.  Are there other
> things that need to be done to get openssl started on the database server?
> How can I diagnose this problem?
>

The files server.key, server.crt, root.crt, and root.crl are only examined
during server start; so you must restart the server for changes in them
to take effect.

http://www.postgresql.org/docs/8.3/interactive/ssl-tcp.html

It's been awhile since I played with this, but there's something about an
environment var, PGSSLMODE.

You can use openssl to verify the server/root ca correctness like
this:

openssl  verify -CAfile ./root.crt testcert.pem

assuming openssl in the mix.

pgsql-admin by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: ssl database connection problems...
Next
From: Tom Lane
Date:
Subject: Re: ssl database connection problems...