From: minfrin@sharp.fm
To: pgsql-bugs@postgresql.org
Cc: minfrin@sharp.fm
Subject: BUG #14893: libpq SSL ClientHello too long, no option to set ciphers or affect cipher list length
Date: Thu, 09 Nov 2017 13:57:18 +0000
Message-ID: <20171109135718.1492.93238@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14893
Logged by: Graham Leggett
Email address: minfrin@sharp.fm
PostgreSQL version: 9.5.9
Operating system: Ubuntu Xenial
Description:
Hi all,
I am having trouble on an Ubuntu Xenial machine where the out-the-box psql
refuses to connect to the out-the-box postgresql over SSL. The same setup
worked on Ubuntu Trusty.
Debugging reveals that the cipher list sent by the libpg client is too long
(greater than 255 bytes), and this causes the postgresql server to slam down
the phone, or it derails the client side enough that a bogus message "tlsv1
alert unknown ca" is returned by the client.
We need a way to either:
- Set the sslcipher in the connection URL, or
- Set the default cipher during the connection to something reasonably
sensible to keep the ClientHello size down.
The cipher can be controlled by ssl_cipher on the server side, but this was
forgotten on the client side.
Regards,
Graham
--
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: minfrin@sharp.fm
Subject: Re: BUG #14893: libpq SSL ClientHello too long, no option to set ciphers or affect cipher list length
In-Reply-To: <20171109135718.1492.93238@wrigleys.postgresql.org>
References: <20171109135718.1492.93238@wrigleys.postgresql.org>
* 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