Received: from h97.c194.tor.velocet.net (H97.C194.tor.velocet.net [216.138.194.97]) by postgresql.org (Postfix) with ESMTP id 6C950475469 for ; Tue, 5 Mar 2002 21:52:30 -0500 (EST) Received: (qmail 48749 invoked by uid 0); 6 Mar 2002 02:52:23 -0000 Received: from h97.c194.tor.velocet.net (HELO jester) (216.138.194.97) by 192.168.1.11 with RC4-MD5 encrypted SMTP; 6 Mar 2002 02:52:23 -0000 Message-ID: <04d401c1c4ba$01d015e0$b002000a@jester> From: "Rod Taylor" To: "mark boylan" , References: Subject: Re: SLL with PHP? Date: Tue, 5 Mar 2002 21:50:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200203/7 X-Sequence-Number: 976 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" To: 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 >