Обсуждение: Set PEM phrase callback and pass contents of ssl-certificates files to libpq
Set PEM phrase callback and pass contents of ssl-certificates files to libpq
От
Gennady Bekasov
Дата:
<div class="WordSection1"><p class="MsoNormal">Hello.<p class="MsoNormal"> <p class="MsoNormal">We need connect to a postgresqlserver by the libpq.dll from a c++-code with root and client openssl certificates.<p class="MsoNormal">We needfind a method to pass a contents of the certificates files to the libpq (pass cerificates without certificate files formore security).<p class="MsoNormal">Also, we need find a method to set a callback for get a PEM pass phrase for the clientcertificate from UI.<p class="MsoNormal">Please, tell us variants of solution these problems.<p class="MsoNormal"> <pclass="MsoNormal">Gennady Bekasov | Software Engineer<br /> 17 Pobediteley Avenue, Suite 1210, 220004,Minsk, Belarus<br /> Syberry Corporation | <a href="http://www.syberry.com"><span style="color:blue">http://www.syberry.com</span></a><pclass="MsoNormal"> </div>
Re: Set PEM phrase callback and pass contents of ssl-certificates files to libpq
От
Peter Eisentraut
Дата:
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.