Re: localhost ssl

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: localhost ssl
Date: 2021-01-22 19:49:32
Message-ID: 73ae4494-3b65-6ecd-b610-9a9ac5c9cce1@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > 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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Baldwin 2021-01-22 20:44:57 Re: FDW connections
Previous Message Adrian Klaver 2021-01-22 19:15:03 Re: localhost ssl