Re: pgAdmin 1.8.2 SSL connection woes

From: Richard Tector <richardtector(at)thekeelecentre(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: pgAdmin 1.8.2 SSL connection woes
Date: 2008-06-19 11:37:52
Message-ID: 485A4510.6020509@thekeelecentre.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Dave Page wrote:
> On Wed, Jun 18, 2008 at 5:48 PM, Richard Tector
> <richardtector(at)thekeelecentre(dot)com> wrote:
>> I might be missing the point here, but I can't seem to get pgAdmin to
>> initiate an SSL encrypted connection to any of our PostgreSQL servers
>> (mainly 8.2, some 8.3) but using password (md5) authentication.
>> Setting SSL to require in the connection properties for the server leads to
>> "could not read certificate" or "could not read private key file" messages.
>> This makes sense if I were trying to connect using client ceritificates for
>> authentication but not for md5 type auth.
>>
>> Any thoughts on the matter would be much appreiciated.
>
> I suspect you have a root certificate (root.crt) in your data
> directory on the server. If this is found at server start, client
> certificates will be requested to authenticate the client (not the
> user) whenever an SSL connection is initiated. See
> http://www.postgresql.org/docs/8.3/static/ssl-tcp.html for more
> details.
>

Excellent point. I'd never picked up on that.

Thanks very much, it's now working as required.

Richard

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Соболь А.Е. 2008-06-20 05:55:20 Error set CLRF in Windows
Previous Message Dave Page 2008-06-19 10:57:30 Re: pgAdmin 1.8.2 SSL connection woes