pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #14893: libpq SSL ClientHello too long, no option to set ciphers or affect cipher list length 2+ messages / 2 participants [nested] [flat]
* BUG #14893: libpq SSL ClientHello too long, no option to set ciphers or affect cipher list length @ 2017-11-09 13:57 minfrin@sharp.fm 2017-11-09 16:39 ` Re: BUG #14893: libpq SSL ClientHello too long, no option to set ciphers or affect cipher list length Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: minfrin@sharp.fm @ 2017-11-09 13:57 UTC (permalink / raw) To: pgsql-bugs; +Cc: minfrin@sharp.fm 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #14893: libpq SSL ClientHello too long, no option to set ciphers or affect cipher list length 2017-11-09 13:57 BUG #14893: libpq SSL ClientHello too long, no option to set ciphers or affect cipher list length minfrin@sharp.fm @ 2017-11-09 16:39 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2017-11-09 16:39 UTC (permalink / raw) To: minfrin@sharp.fm; +Cc: pgsql-bugs minfrin@sharp.fm writes: > 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. This seems like an OpenSSL bug, not a Postgres bug. libpq doesn't do anything that determines cipher lists. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2017-11-09 16:39 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2017-11-09 13:57 BUG #14893: libpq SSL ClientHello too long, no option to set ciphers or affect cipher list length minfrin@sharp.fm 2017-11-09 16:39 ` Tom Lane <tgl@sss.pgh.pa.us>
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