pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christophe Pettus <xof@thebuild.com>
To: Tomas Pospisek <tpo2@sourcepole.ch>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Regarding SSL Enablement in PostgreSQL Database on different port
Date: Tue, 2 May 2023 12:26:02 -0700
Message-ID: <DDB166D8-C5FF-4DE7-84B5-DB67F59723AB@thebuild.com> (raw)
In-Reply-To: <fc7edc62-79f8-74c5-cfb8-08ddca84d32b@sourcepole.ch>
References: <CAAUgb-s9UZXvFsd4Jak78gWv01oKBhnUjC8VvDNxS=Q+Yaq=Ww@mail.gmail.com>
	<CABUevEwx7=cCE=SBW7kXamNbVN9Hk4+oMbS2cF0PSSM31HKdvA@mail.gmail.com>
	<fc7edc62-79f8-74c5-cfb8-08ddca84d32b@sourcepole.ch>



> On May 2, 2023, at 12:15, Tomas Pospisek <tpo2@sourcepole.ch> wrote:
> 
> Oh, I think your idea to use pgbouncer to take care of the SSL termination is elegant. I don't think me I'd characterize it as a hack if properly set up. Why do you consider it a hack?

It's really only a hack in the sense that pgbouncer is being introduced just to do TLS.  You might be able to do the same thing by running stunnel on the PostgreSQL host on a different port, and have it forward to PostgreSQL.




view thread (5+ messages)

Message-ID: <DDB166D8-C5FF-4DE7-84B5-DB67F59723AB@thebuild.com>
Permalink:  ../DDB166D8-C5FF-4DE7-84B5-DB67F59723AB@thebuild.com/
Also on:    postgresql.org/message-id/DDB166D8-C5FF-4DE7-84B5-DB67F59723AB@thebuild.com

 · 

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-general@postgresql.org
  Cc: xof@thebuild.com, tpo2@sourcepole.ch
  Subject: Re: Regarding SSL Enablement in PostgreSQL Database on different port
  In-Reply-To: <DDB166D8-C5FF-4DE7-84B5-DB67F59723AB@thebuild.com>
  References: <CAAUgb-s9UZXvFsd4Jak78gWv01oKBhnUjC8VvDNxS=Q+Yaq=Ww@mail.gmail.com> <CABUevEwx7=cCE=SBW7kXamNbVN9Hk4+oMbS2cF0PSSM31HKdvA@mail.gmail.com> <fc7edc62-79f8-74c5-cfb8-08ddca84d32b@sourcepole.ch> <DDB166D8-C5FF-4DE7-84B5-DB67F59723AB@thebuild.com>

* 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