From: Rod Taylor <rbt@zort.ca>
To: mark boylan <markboylan@hotmail.com>
To: pgsql-php@postgresql.org
Subject: Re: SLL with PHP?
Date: Tue, 5 Mar 2002 21:50:52 -0500
Message-ID: <04d401c1c4ba$01d015e0$b002000a@jester> (raw)
References: <F77JmYqAZswvgOSJSdZ0001af0f@hotmail.com>
Libpq does all of the work. PHP has no notion of an encrypted
session, it just tells libpq to connect.
If you create a certificate for postgresql (see docs) libpq will
normally use an encrypted session by default. By setting hostssl in
pg_hba.conf it will enforce that all connections must be encrypted to
connect -- kinda a guarentee.
Anyway, it is that simple.
--
Rod Taylor
This message represents the official view of the voices in my head
----- Original Message -----
From: "mark boylan" <markboylan@hotmail.com>
To: <pgsql-php@postgresql.org>
Sent: Tuesday, March 05, 2002 9:33 PM
Subject: [PHP] SLL with PHP?
>
> Hi.
>
> Can anyone tell me if PHP is capable of connecting to pg using ssl?
If I
> put a "hostssl" line for my web server in my pg_hba.conf file, will
all of
> the communication between the webserver and database server be
encrypted?
> Can it be that simple?
>
> Thanks :)
>
> - Mark
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device:
http://mobile.msn.com>
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: rbt@zort.ca, markboylan@hotmail.com
Subject: Re: SLL with PHP?
In-Reply-To: <04d401c1c4ba$01d015e0$b002000a@jester>
References: <F77JmYqAZswvgOSJSdZ0001af0f@hotmail.com> <04d401c1c4ba$01d015e0$b002000a@jester>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox