Set PEM phrase callback and pass contents of ssl-certificates files to libpq - Mailing list pgsql-interfaces

From Gennady Bekasov
Subject Set PEM phrase callback and pass contents of ssl-certificates files to libpq
Date
Msg-id HE1PR07MB11453B72932410DA0918E67DEF730@HE1PR07MB1145.eurprd07.prod.outlook.com
Whole thread Raw
Responses Re: Set PEM phrase callback and pass contents of ssl-certificates files to libpq
List pgsql-interfaces

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

 

pgsql-interfaces by date:

Previous
From: Chicago Schooler
Date:
Subject: Re: Get index with C-language function
Next
From: Nima Azizzadeh
Date:
Subject: Define two factor authentication for Postgresql Server