Re: confirming security.

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Maz Mohammadi <mmohammadi(at)pentaho(dot)com>
Cc: John R Pierce <pierce(at)hogranch(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: confirming security.
Date: 2013-02-22 15:57:42
Message-ID: 51279576.1080102@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

On 02/22/2013 07:50 AM, Maz Mohammadi wrote:
> Thx John,
>
> It got me a long way. I actually have a more complex installation (I
> think) that I originally thought on my test linux box. Looks like all
> the files that I modify are under /var/lib/post../coord.
>
> I added the line.. to pg_hba.conf
>
> hostssl all all 127.0.0.1/32 cert
>
> and after restarting the coordinator node, it errored because I had to
> modify postgresql.conf (ssl=off) . So I feel that the server is now
> running in SSL mode.
>
> But when I used psql…I’m getting this….
>
> ==============
>
> postgres-xc(at)adminuser-VirtualBox:~/coord$ psql -h localhost testdb
>
> psql (PGXC 1.0.0, based on PG 9.1.4)
>
> SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
>
> Type "help" for help.
>
> testdb=# select 2+2;
>
> ?column?
>
> ----------
>
> 4
>
> (1 row)
>
> testdb=# \q
>
> ==============
>
> It’s telling me it’s through an SSL connection, but I didn’t specify any
> keystore on my side for psql? Does it pick it up from somewhere?
>
> Any help is greatly appreciated J
>
> Postgresql isn’t half bad ;)
>

Is the above line from pg_hba.conf the only one in the file?

If not could you post the entire file contents?

Remember in pg_hba.conf first match wins.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Clark 2013-02-22 16:01:12 limit based on count(*)
Previous Message Maz Mohammadi 2013-02-22 15:50:04 Re: confirming security.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Maz Mohammadi 2013-02-22 16:13:54 Re: confirming security.
Previous Message Maz Mohammadi 2013-02-22 15:50:04 Re: confirming security.