From: | "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
---|---|
To: | "Vitaliyi *EXTERN*" <imgrey(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: SSL auth problem |
Date: | 2008-05-19 06:56:47 |
Message-ID: | D960CB61B694CF459DCFB4B0128514C2021DDE17@exadv11.host.magwien.gv.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Vitaliyi wrote:
> %openssl x509 -noout -dates -issuer -subject -in postgresql.crt
>
> notBefore=May 16 13:55:49 2008 GMT
> notAfter=Jun 15 13:55:49 2008 GMT
> issuer= /C=UK/ST=Some-State/L=Kiev/O=0x2A/CN=80.93.122.34/emailAddress=support(at)0x2a-dc(dot)com
> subject= /C=UK/ST=Some-State/L=Kiev/O=Internet Widgits Pty
> Ltd/CN=localhost/emailAddress=imgrey(at)gmail(dot)com
>
> %openssl x509 -noout -dates -issuer -subject -in root.crt
> notBefore=May 16 13:49:57 2008 GMT
> notAfter=Jun 15 13:49:57 2008 GMT
> issuer= /C=UK/ST=Some-State/L=Kiev/O=0x2A/CN=80.93.122.34/emailAddress=support(at)0x2a-dc(dot)com
> subject= /C=UK/ST=Some-State/L=Kiev/O=0x2A/CN=80.93.122.34/emailAddress=support(at)0x2a-dc(dot)com
>
>
> btw, the same:
>
> psql: SSL error: sslv3 alert bad certificate
>
>
> postgres[29563]: [3-1] LOG: could not accept SSL connection: no
> certificate returned
Could you also check the key files with
openssl rsa -in postgresql.key
and
openssl rsa -in server.key
and server.crt as you did above?
If they are all ok, I don't know what could be causing the error.
All that is obvious from the error message is that the client side
complains that a certificate is not ok (don't know if client, server or CA
certificate).
One last straw: is it between May 16 and June 15 on both machines involved?
Yours,
Laurenz Albe
From | Date | Subject | |
---|---|---|---|
Next Message | jrivero | 2008-05-19 10:51:21 | Join three fields into one on same table |
Previous Message | samslists@gmail.com | 2008-05-19 06:33:11 | Re: Setting up phppgadmin under https/ssl (Apache) |