Thread: How to establish a SSL connection to a postgresql server

How to establish a SSL connection to a postgresql server

From
Christian Tonhäuser
Date:

Hallo,

 

I want to establish a secure connection to the database server (which is hosted externally) using SSL. What do I have to do?

I'm a novice regarding network administration and similar stuff. I can get a certificate and private key from the hosting firm.

Is there any good  step-by-step guide online? It’s about the settings that have to be done, before even connecting.

 

Thanks a lot

Christian

 

Re: How to establish a SSL connection to a postgresql server

From
Pandu Poluan
Date:


On Dec 19, 2011 7:39 PM, "Christian Tonhäuser" <christian.tonhaeuser@gmx.net> wrote:
>
> Hallo,
>
>  
>
> I want to establish a secure connection to the database server (which is hosted externally) using SSL. What do I have to do?
>
> I'm a novice regarding network administration and similar stuff. I can get a certificate and private key from the hosting firm.
>
> Is there any good  step-by-step guide online? It’s about the settings that have to be done, before even connecting.
>
>  
>
> Thanks a lot
>

If what you need is a secure tunnel, you can always use an ssh tunnel.

man ssh for more info.

Rgds,

Re: How to establish a SSL connection to a postgresql server

From
Christian Tonhäuser
Date:

Hi,

I want to create a secure connection from a web application on one server to a database on another. What‘s the best way?

/Christian

 


On Dec 19, 2011 7:39 PM, "Christian Tonhäuser" <christian.tonhaeuser@gmx.net> wrote:
>
> Hallo,
>
>  
>
> I want to establish a secure connection to the database server (which is hosted externally) using SSL. What do I have to do?
>
> I'm a novice regarding network administration and similar stuff. I can get a certificate and private key from the hosting firm.
>
> Is there any good  step-by-step guide online? It’s about the settings that have to be done, before even connecting.
>
>  
>
> Thanks a lot
>

If what you need is a secure tunnel, you can always use an ssh tunnel.

man ssh for more info.

Rgds,

Re: How to establish a SSL connection to a postgresql server

From
"Jean-Yves F. Barbier"
Date:
On Mon, 19 Dec 2011 17:03:39 +0100
Christian Tonhäuser <christian.tonhaeuser@gmx.net> wrote:

> I want to create a secure connection from a web
> application on one server to a database on another.>
> What‘s the best way?

I think U don't know about MLs: 1st thing is about searching on your
own, 2nd thing is *really* search on you own, 3rd thing is *really,
really* search on your own; 3rd thing is NOT to bother anyone before
having searching 'really really really' before searching by your own.

Asking without making personal research is a confusion of mind...

--
BOFH excuse #234:
Someone is broadcasting pygmy packets and the router doesn't know
how to deal with them.