pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Donald Fraser <postgres@kiwi-fraser.net>
To: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Initial request packet for SSL
Date: Sun, 26 Mar 2006 16:58:20 +0100
Message-ID: <001201c650ee$1b1901a0$0264a8c0@demolish1> (raw)

Hello,
I'm not sure whether this is the correct place to post this question, but I will try here first.

According to the documentation, to connect to the back-end using SSL a special start-up packet (SSLRequest) is required before the front-end can begin with the SSL hand-shake.

My question is, can this initial request be avoided in any way - is it possible to start with the SSL handshake without the request?

The reason I'm asking is that I've been asked to write some software that will establish a secure connection through a HTTPS proxy server to a PostgreSQL database. My research shows that to tunnel through a proxy requires first the connection to the proxy server and then the SSL hand-shake. Many HTTPS proxy servers will not allow any data to be transmitted before the SSL hand-shake, which in the case for PostgreSQL is going to cause problems if I'm required to send the SSLRequest packet first.

Any thoughts would be appreciated,
regards
Donald Fraser. 

view thread (2+ messages)  latest in thread

Message-ID: <001201c650ee$1b1901a0$0264a8c0@demolish1>
Permalink:  ../001201c650ee$1b1901a0$0264a8c0@demolish1/
Also on:    postgresql.org/message-id/001201c650ee$1b1901a0$0264a8c0@demolish1

 · 

reply

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-admin@postgresql.org
  Cc: postgres@kiwi-fraser.net
  Subject: Re: Initial request packet for SSL
  In-Reply-To: <001201c650ee$1b1901a0$0264a8c0@demolish1>
  References: <001201c650ee$1b1901a0$0264a8c0@demolish1>

* 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