Re: BUG #4455: Valid SSL certificate reported as expired - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #4455: Valid SSL certificate reported as expired
Date
Msg-id 48FC43F5.8040904@hagander.net
Whole thread Raw
In response to BUG #4455: Valid SSL certificate reported as expired  ("Andrej Podzimek" <andrej@podzimek.org>)
List pgsql-bugs
Andrej Podzimek wrote:
> The following bug has been logged online:
>
> Bug reference:      4455
> Logged by:          Andrej Podzimek
> Email address:      andrej@podzimek.org
> PostgreSQL version: 8.3.3
> Operating system:   Linux 2.6.26.5
> Description:        Valid SSL certificate reported as expired
> Details:
>
> Hello,
>
> both psql and pgAdmin refuse to connect to my server using SSL, with this
> inexplicable error message:
>
>     Error connecting to the server: SSL error: sslv3 alert certificate
> expired
>
> CA certificate is valid till 2011.
> Server certificate is valid till 2009.
> Client certificate is valid till 2009.
>
> So the error message is obviously a nonsense.

Any chance this is a debian based distribution, and that the certificate
may be using a key that they have blacklisted due to the random number
problem? It may be that OpenSSL gives an incorrect error message in this
case...

If not, please try with the OpenSSL s_client/s_server applications with
the same certificates and see if it works there.

Also, check if there may be some kind of date issue with the CRL.

//Magnus

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with the pg_dumpall file format
Next
From: "Andrew Grillet"
Date:
Subject: BUG #4486: CSV feature request