From: Rob Sargent <robjsargent@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: localhost ssl
Date: Fri, 22 Jan 2021 12:49:32 -0700
Message-ID: <73ae4494-3b65-6ecd-b610-9a9ac5c9cce1@gmail.com> (raw)
In-Reply-To: <1ca17e3b-14de-69ff-5f0b-4082376571ca@aklaver.com>
References: <e77dddba-3c98-4cb2-5492-c0cf694c084d@gmail.com>
<1ca17e3b-14de-69ff-5f0b-4082376571ca@aklaver.com>
> > Also I'm guessing you have ssl = on in postgresql.conf and server cert
> setup.
Sorry, here's a likely explaination from postgresql.conf
ssl = on
#ssl_ca_file = ''
ssl_cert_file = '/etc/ssl/certs/ssl-cert-snakeoil.pem'
#ssl_crl_file = ''
ssl_key_file = '/etc/ssl/private/ssl-cert-snakeoil.key'
I have no recollection of making those choices (or what I had for
breakfast).
>
> If you want to enforce SSL then:
>
> "
> hostssl
>
> This record matches connection attempts made using TCP/IP, but only
> when the connection is made with SSL encryption.
Do you have any thoughts on question #2?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robjsargent@gmail.com, adrian.klaver@aklaver.com
Subject: Re: localhost ssl
In-Reply-To: <73ae4494-3b65-6ecd-b610-9a9ac5c9cce1@gmail.com>
References: <e77dddba-3c98-4cb2-5492-c0cf694c084d@gmail.com> <1ca17e3b-14de-69ff-5f0b-4082376571ca@aklaver.com> <73ae4494-3b65-6ecd-b610-9a9ac5c9cce1@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox