Re: Postgres and TLSv1.2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Postgres and TLSv1.2
Date
Msg-id 28287.1432224396@sss.pgh.pa.us
Whole thread Raw
In response to Postgres and TLSv1.2  (Jan Bilek <jan.bilek@eftlab.co.uk>)
Responses Re: Postgres and TLSv1.2  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Postgres and TLSv1.2  (Jan Bilek <jan.bilek@eftlab.co.uk>)
List pgsql-hackers
Jan Bilek <jan.bilek@eftlab.co.uk> writes:
> We are trying to setup Postgres with TLSv1.2 (undergoing PA:DSS audit), 
> but getting a bit stuck there with Postgres reporting “could not accept 
> SSL connection: no shared cipher”. This is obviously an internal OpenSSL 
> message, but worrying part is that we've had this setup running with the 
> other encryptions and the same certificates without any problems.

> We've been trying to follow documentation from here: 
> http://www.postgresql.org/docs/9.3/static/ssl-tcp.html.

libpq versions before 9.4 will only accept TLSv1 exactly.  In 9.4 it
should negotiate the highest TLS version supported by both server and
client.

I don't recall why we didn't back-patch that change, probably excessive
concern for backwards compatibility ... but anyway, AFAICS from the git
logs, it's not in 9.3.x.  I think you could get TLS 1.2 from a 9.3 server
and 9.4 libpq, if that helps.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Redesigning checkpoint_segments
Next
From: David Fetter
Date:
Subject: Re: GROUPING