pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeanna Geier <jgeier@apt-cafm.com>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_hba.conf: 'trust' vs. 'md5' Issues
Date: Tue, 26 Sep 2006 10:28:33 -0500
Message-ID: <00cf01c6e180$6e21a500$6700a8c0@geier> (raw)
References: <006201c6e171$bee28c70$6700a8c0@geier>
	<Pine.LNX.4.64.0609260755100.32444@discord.home.frostconsultingllc.com>
	<Pine.LNX.4.64.0609260804180.32444@discord.home.frostconsultingllc.com>

Hi Jeff-

Thanks so much for the reply.

Yes, I have ssl=true in postgresql.conf. (password encryption is commented 
out - is that OK?: #password_encryption = true)

Also, yes, server.crt is in the 'data' directory of my postgres server, as 
is server.key.

And, yes, when I am able to start Postgres (when using 'trust' in the 
pg_hba.conf file vs. 'md5'), I do so the 'SSL connection' line:

    C:\msys\1.0\local\pgsql\bin>psql -d apt -U postgres
    Welcome to psql 8.0.8, the PostgreSQL interactive terminal.

    Type:  \copyright for distribution terms
           \h for help with SQL commands
           \? for help with psql commands
           \g or terminate with semicolon to execute query
           \q to quit

    SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)

    Warning: Console code page (437) differs from Windows code page (1252)
             8-bit characters may not work correctly. See psql reference
             page "Notes for Windows users" for details.

    apt=#

It's only when I change the connection method to 'md5' that I'm running into 
problems -- then I cannot connect from pgadmin or the command line.

Thanks,
-Jeanna

----- Original Message ----- 
From: "Jeff Frost" <jeff@frostconsultingllc.com>
To: "Jeanna Geier" <jgeier@apt-cafm.com>
Cc: <pgsql-admin@postgresql.org>
Sent: Tuesday, September 26, 2006 10:05 AM
Subject: Re: [ADMIN] pg_hba.conf: 'trust' vs. 'md5' Issues


> On Tue, 26 Sep 2006, Jeff Frost wrote:
>
>> It seems that for some reason either your server or your client are not 
>> trying to use SSL.  Note the: "SSL off" in the error message you 
>> received. Do you have a server.crt in the data directory of the postgres 
>> server?
>>
>
> I guess I should have also asked if you have the
>
> ssl = true
>
> in postgresql.conf?
>
> ---
> Jeff Frost, Owner       <jeff@frostconsultingllc.com>
> Frost Consulting, LLC   http://www.frostconsultingllc.com/
> Phone: 650-780-7908     FAX: 650-649-1954
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 




view thread (21+ messages)  latest in thread

Message-ID: <00cf01c6e180$6e21a500$6700a8c0@geier>
Permalink:  ../00cf01c6e180$6e21a500$6700a8c0@geier/
Also on:    postgresql.org/message-id/00cf01c6e180$6e21a500$6700a8c0@geier

 · 

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-admin@postgresql.org
  Cc: jgeier@apt-cafm.com, jeff@frostconsultingllc.com
  Subject: Re: pg_hba.conf: 'trust' vs. 'md5' Issues
  In-Reply-To: <00cf01c6e180$6e21a500$6700a8c0@geier>
  References: <006201c6e171$bee28c70$6700a8c0@geier> <Pine.LNX.4.64.0609260755100.32444@discord.home.frostconsultingllc.com> <Pine.LNX.4.64.0609260804180.32444@discord.home.frostconsultingllc.com> <00cf01c6e180$6e21a500$6700a8c0@geier>

* 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