| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> | 
|---|---|
| To: | Christian Marschalek <cm(at)chello(dot)at> | 
| Cc: | "[GENERAL] PostgreSQL" <pgsql-general(at)postgresql(dot)org> | 
| Subject: | RE: ssl connections with psql | 
| Date: | 2001-03-16 18:24:34 | 
| Message-ID: | Pine.LNX.4.30.0103161921270.1293-100000@peter.localdomain | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-general | 
Christian Marschalek writes:
> well i ment over apache (with php) to a database :o)
Apache encrypts the connection to the web user, PostgreSQL encrypts the
connection to the database user, which in this case would be Apache.
I.e.:
Web user ---SSL---> Apache ---SSL---> PostgreSQL
Typically, in these setups, the Apache to PostgreSQL connection is over a
trusted wire, such as a Unix domain socket, local loopback, or LAN, so SSL
won't be necessary.  But if you run a database (not web) connection over
the Internet then you might care.
>
> > -----Original Message-----
> > From: Peter Eisentraut [mailto:peter_e(at)gmx(dot)net]
> > Sent: Friday, March 16, 2001 6:19 PM
> > To: Christian Marschalek
> > Cc: [GENERAL] PostgreSQL
> > Subject: RE: [GENERAL] ssl connections with psql
> >
> >
> > Christian Marschalek writes:
> >
> > > May I ask what the difference between apache compiled with ssl and
> > > postgresql with ssl is? if there's any...
> >
> > Apache serves encrypted HTTP connections, PostgreSQL serves encrypted
> > database connections.
> >
> > --
> > Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/
> >
>
>
-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | pgh | 2001-03-16 18:41:20 | |
| Previous Message | Christian Marschalek | 2001-03-16 18:18:51 | RE: ssl connections with psql |