Re: sslmode=require fallback - Mailing list pgsql-hackers

From Tom Lane
Subject Re: sslmode=require fallback
Date
Msg-id 16340.1468531672@sss.pgh.pa.us
Whole thread Raw
In response to Re: sslmode=require fallback  (Greg Stark <stark@mit.edu>)
Responses Re: sslmode=require fallback  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Greg Stark <stark@mit.edu> writes:
> Well what's required to "configure SSL" anyways? If you don't have
> verify-ca set or a root canal cert present then the server just needs a
> certificate -- any certificate. Can the server just cons one up on demand
> (or server startup or initdb)?

Hmm, good old "snake oil certificate" approach.  Yeah, we could probably
have initdb create a cert all the time.  I had memories of this taking
an undue amount of time, but it seems pretty fast on a modern server.
Also, we could offer a switch to turn it off if necessary, with the
understanding that non-Unix-socket connections can be expected to fail
if user doesn't install a cert.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: sslmode=require fallback
Next
From: Magnus Hagander
Date:
Subject: Re: sslmode=require fallback