agora inbox for pgsql-interfaces@postgresql.org  
help / color / mirror / Atom feed
Set PEM phrase callback and pass contents of ssl-certificates files to libpq
2+ messages / 2 participants
[nested] [flat]

* Set PEM phrase callback and pass contents of ssl-certificates files to libpq
@ 2015-08-07 15:37  Gennady Bekasov <g.bekasov@syberry.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Gennady Bekasov @ 2015-08-07 15:37 UTC (permalink / raw)
  To: pgsql-interfaces; +Cc: guillaume@lelarge.info <guillaume@lelarge.info>

Hello.

We need connect to a postgresql server by the libpq.dll from a c++-code with root and client openssl certificates.
We need find a method to pass a contents of the certificates files to the libpq (pass cerificates without certificate files for more security).
Also, we need find a method to set a callback for get a PEM pass phrase for the client certificate from UI.
Please, tell us variants of solution these problems.

Gennady Bekasov | Software Engineer
17 Pobediteley Avenue, Suite 1210, 220004, Minsk, Belarus
Syberry Corporation | http://www.syberry.com



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Set PEM phrase callback and pass contents of ssl-certificates files to libpq
@ 2015-10-20 20:42  Peter Eisentraut <peter_e@gmx.net>
  parent: Gennady Bekasov <g.bekasov@syberry.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2015-10-20 20:42 UTC (permalink / raw)
  To: Gennady Bekasov <g.bekasov@syberry.com>; pgsql-interfaces; +Cc: guillaume@lelarge.info <guillaume@lelarge.info>

On 8/7/15 11:37 AM, Gennady Bekasov wrote:
> We need find a method to pass a contents of the certificates files to
> the libpq (pass cerificates without certificate files for more security).
> 
> Also, we need find a method to set a callback for get a PEM pass phrase
> for the client certificate from UI.

I don't think either of these are supported.

You can hack up libpq to support it, though.



-- 
Sent via pgsql-interfaces mailing list (pgsql-interfaces@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-10-20 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07 15:37 Set PEM phrase callback and pass contents of ssl-certificates files to libpq Gennady Bekasov <g.bekasov@syberry.com>
2015-10-20 20:42 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox