From: Adrian Klaver <adrian.klaver@gmail.com>
To: Maz Mohammadi <mmohammadi@pentaho.com>
Cc: John R Pierce <pierce@hogranch.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: confirming security.
Date: Fri, 22 Feb 2013 07:57:42 -0800
Message-ID: <51279576.1080102@gmail.com> (raw)
In-Reply-To: <9F992F0A0D9BA04F914597F75435942D09576C4DCF@MBX36.exg5.exghost.com>
References: <9F992F0A0D9BA04F914597F75435942D09575EB6B2@MBX36.exg5.exghost.com>
<5126EE15.8030402@hogranch.com>
<9F992F0A0D9BA04F914597F75435942D09576C4DCF@MBX36.exg5.exghost.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
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@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.klaver@gmail.com
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
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-jdbc@postgresql.org
Cc: adrian.klaver@gmail.com, mmohammadi@pentaho.com, pierce@hogranch.com, pgsql-general@postgresql.org
Subject: Re: confirming security.
In-Reply-To: <51279576.1080102@gmail.com>
References: <9F992F0A0D9BA04F914597F75435942D09575EB6B2@MBX36.exg5.exghost.com> <5126EE15.8030402@hogranch.com> <9F992F0A0D9BA04F914597F75435942D09576C4DCF@MBX36.exg5.exghost.com> <51279576.1080102@gmail.com>
* 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