pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: Duffey, Blake A. <Blake.Duffey@noblis.org>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: using pgsql-odbc using client certificate auth
Date: Thu, 15 Mar 2012 21:46:51 -0400
Message-ID: <20120316014651.GZ3938@tamriel.snowman.net> (raw)
In-Reply-To: <4F6188F0.8050400@tpf.co.jp>
References: <0984F8A75BAED547B7374948DD065384501D761D@mbx2.mitretek.org>
	<20120314172704.GX3938@tamriel.snowman.net>
	<4F6188F0.8050400@tpf.co.jp>

Hiroshi,

* Hiroshi Inoue (inoue@tpf.co.jp) wrote:
> I'm not sure if the client certificates works or not.
> As for the 32bit driver aren't you using psqlodbc_09_01_0100?
> If so please try psqlodbc_09_01_0100-1.

Thank you for that!  Turns out that was exactly it.  Other than that,
you have to set the necessary environment variables to tell libpq where
to find the certificate, the key, and the root CA certificates.  Once
those are done, it 'just works'.

It would be nice if it could use the certificate store, and it looks
like there is actually code in the ODBC driver to do that, but this is
good enough for what I need it for.

Thanks again!

	Stephen

Attachments:

  signature.asc (application/pgp-signature, 197B) download

view thread (5+ messages)  latest in thread

Message-ID: <20120316014651.GZ3938@tamriel.snowman.net>
Permalink:  ../20120316014651.GZ3938@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20120316014651.GZ3938@tamriel.snowman.net

 · 

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-odbc@postgresql.org
  Cc: sfrost@snowman.net, inoue@tpf.co.jp, Blake.Duffey@noblis.org
  Subject: Re: using pgsql-odbc using client certificate auth
  In-Reply-To: <20120316014651.GZ3938@tamriel.snowman.net>
  References: <0984F8A75BAED547B7374948DD065384501D761D@mbx2.mitretek.org> <20120314172704.GX3938@tamriel.snowman.net> <4F6188F0.8050400@tpf.co.jp> <20120316014651.GZ3938@tamriel.snowman.net>

* 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