libpq: Specify pass phrase for SSL key - Mailing list pgsql-general

From Koen Vermeer
Subject libpq: Specify pass phrase for SSL key
Date
Msg-id 1184253966.5451.11.camel@localhost
Whole thread Raw
List pgsql-general
Hi,

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



pgsql-general by date:

Previous
From: Erik Jones
Date:
Subject: Re: Database corruption: finding the bad block
Next
From: Andrew Edson
Date:
Subject: Panic error on attempted update