pg.ddx.io pgsql-pkg-debian@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Christoph Berg <cb@df7cb.de>
To: Chris Butler <cbutler@zedcore.com>
Cc: pgsql-pkg-debian@postgresql.org, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Updated libpq5 packages cause connection errors on postgresql 9.2
Date: Fri, 19 Dec 2014 11:52:43 +0100
Message-ID: <20141219105243.GA29845@msg.df7cb.de> (raw)
In-Reply-To: <1155204201.65430.1418975376728.JavaMail.zimbra@zedcore.com>
References: <1155204201.65430.1418975376728.JavaMail.zimbra@zedcore.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>
Re: Chris Butler 2014-12-19 <1155204201.65430.1418975376728.JavaMail.zimbra@zedcore.com>
> One of our servers is currently running on postgres 9.2 using the 9.2.9-1.pgdg70+1 packages from pgdg.
>
> After an apt update this morning which brought in the libpq5 package version 9.4.0-1.pgdg70+1, connections to the database started failing with SSL errors logged on the server:
>
> [unknown] [unknown] LOG: could not accept SSL connection: digest too big for rsa key
>
> Rolling back the server and client to libpq5 version 9.3.5-2.pgdg70+1 fixed it.
>
> This is running on an otherwise up-to-date Debian Wheezy. The SSL certificate is locally issued using an internal CA which has been added to the local trust store. SSL-related config options are left set to the defaults.
Hi Chris,
thanks for the report.
Googling for "digest too big for rsa key" seems to indicate that this
problem occurs when you are using (client?) certificates with short
RSA keys. 512 bits is most often cited in the problem reports,
something like 768 is around the minimum size that works, and of
course, anything smaller than 1024 or really 1536 (or 2048) bits is
too small for today's crypto standards.
So the question here is if this is also the problem you saw - are you
using client or server certificates with short keys?
What this explanation doesn't explain is why the problem occurs with
9.4's libpq5 while it works with 9.3's. The libssl version used for
building these packages should really be the same, 9.3.5-2.pgdg70+1
was built just two days ago as well.
I'm CCing -hackers, maybe someone there has an idea.
Christoph
--
cb@df7cb.de | http://www.df7cb.de/
--
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian
view thread (8+ messages) latest in thread
Message-ID: <20141219105243.GA29845@msg.df7cb.de> Permalink: ../20141219105243.GA29845@msg.df7cb.de/ Also on: postgresql.org/message-id/20141219105243.GA29845@msg.df7cb.de ·
reply
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-pkg-debian@postgresql.org Cc: cb@df7cb.de, cbutler@zedcore.com, pgsql-hackers@postgresql.org Subject: Re: Updated libpq5 packages cause connection errors on postgresql 9.2 In-Reply-To: <20141219105243.GA29845@msg.df7cb.de> References: <1155204201.65430.1418975376728.JavaMail.zimbra@zedcore.com> <20141219105243.GA29845@msg.df7cb.de> * 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