From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ed Hutchinson <edhutch1963@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Connection string parameter "sslrootcert" does not work
Date: Tue, 11 Nov 2014 07:10:15 -0800
Message-ID: <546226D7.5000505@aklaver.com> (raw)
In-Reply-To: <CAO99JCPb0S+jnmZ6BdXLPLz=cxnV1Kbfe_jxRan6xxNvLsccrA@mail.gmail.com>
References: <CAO99JCPb0S+jnmZ6BdXLPLz=cxnV1Kbfe_jxRan6xxNvLsccrA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 11/10/2014 04:25 PM, Ed Hutchinson wrote:
> Hi,
> I am using the psqlODBC driver to connect to Amazon RDS. I am able
> to connect successfully after enabling SSL encryption via the connection
> string parameter "sslmode=require". I want to now enable verification of
> server identity too, which means that I need to provide the CA
> certificate path to the Postgres driver. I tried the connection
> parameters "sslmode=verify-full;sslrootcert=<path to CA file>", but the
> driver is not able to pick up the file from the specified path (I tried
> on Windows and Mac OS X). Things work, however, when the certificate is
> placed in the default place the driver looks in -
> %APPDATA%\Roaming\postgresql\root.crt on Windows; ~/.postgresql/root.crt
> on Mac.
>
> Is this a bug that needs to be fixed or am I doing something wrong?
> I am using psqlodbc version 09_03_0300-1.
Not sure, how are you specifying the path to the certificate?
>
> Thanks,
> Ed
>
> The resources I consulted:
> http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts.Gener...
> http://www.postgresql.org/docs/9.3/static/libpq-ssl.html
> http://www.postgresql.org/docs/9.3/static/libpq-connect.html
--
Adrian Klaver
adrian.klaver@aklaver.com
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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-odbc@postgresql.org
Cc: adrian.klaver@aklaver.com, edhutch1963@gmail.com
Subject: Re: Connection string parameter "sslrootcert" does not work
In-Reply-To: <546226D7.5000505@aklaver.com>
References: <CAO99JCPb0S+jnmZ6BdXLPLz=cxnV1Kbfe_jxRan6xxNvLsccrA@mail.gmail.com> <546226D7.5000505@aklaver.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