Thread: Accessing postgres in perl app using ssl authentication

Accessing postgres in perl app using ssl authentication

From
"beer"
Date:
Hello

I know this isnt specifically a postgres question, but people here are much more likely to have an answer than on a
perllist.  I have an app in perl that uses DBD::Pg to access the database.  This module does not seem to have support
forusing certificate authentication.  I'm hoping someone here might be aware of a module that does support this option. 

TIA

-b


Re: Accessing postgres in perl app using ssl authentication

From
Martijn van Oosterhout
Date:
On Thu, Nov 16, 2006 at 02:24:43PM -0500, beer wrote:
> Hello
>
> I know this isnt specifically a postgres question, but people here
> are much more likely to have an answer than on a perl list.  I have
> an app in perl that uses DBD::Pg to access the database.  This module
> does not seem to have support for using certificate authentication.
> I'm hoping someone here might be aware of a module that does support
> this option.

DBD::Pg uses the libpq library to make the connection and so should
have all the same capabilites as any C program. Have you tried setting
it up for certificate authentication?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment