From: Koen Vermeer <koen@vermeer.tv>
To: pgsql-interfaces@postgresql.org
Subject: libpq: Specify pass phrase for SSL key
Date: Thu, 12 Jul 2007 17:52:50 +0200
Message-ID: <1184255570.5451.13.camel@localhost> (raw)
Hi,
Apologies for posting this to both pgsql-interfaces and pgsql-general,
but I'm unable to decide which one is more appropriate.
I am using libpq to set up an SSL connection to a PostgreSQL server. The
client key is protected by a pass phrase, so when I issue a
PQconnectdb(), I get a prompt stating:
Enter PEM pass phrase:
Instead, I would like to give the user a nice message box, asking for
his/her password. So, how do I 'inject' the right SSL password into the
connection sequence?
Thanks for any help!
Koen
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: koen@vermeer.tv
Subject: Re: libpq: Specify pass phrase for SSL key
In-Reply-To: <1184255570.5451.13.camel@localhost>
* 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