public inbox for [email protected]  
help / color / mirror / Atom feed
SSL Connection String
3+ messages / 2 participants
[nested] [flat]

* SSL Connection String
@ 2024-09-18 15:08 tiamoh m <[email protected]>
  2024-09-18 17:53 ` Re: SSL Connection String Erik Wienhold <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: tiamoh m @ 2024-09-18 15:08 UTC (permalink / raw)
  To: [email protected]

Hello,

I wish to find out the connection string to only establish ssl connection
after it is set up.

kind regards
Tiamoh J


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: SSL Connection String
  2024-09-18 15:08 SSL Connection String tiamoh m <[email protected]>
@ 2024-09-18 17:53 ` Erik Wienhold <[email protected]>
  2024-09-18 21:44   ` Re: SSL Connection String tiamoh m <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Erik Wienhold @ 2024-09-18 17:53 UTC (permalink / raw)
  To: tiamoh m <[email protected]>; +Cc: [email protected]

On 2024-09-18 17:08 +0200, tiamoh m wrote:
> I wish to find out the connection string to only establish ssl connection
> after it is set up.

Use sslmode=require (or verify-ca/verify-full if necessary) for that:
https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS

-- 
Erik





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: SSL Connection String
  2024-09-18 15:08 SSL Connection String tiamoh m <[email protected]>
  2024-09-18 17:53 ` Re: SSL Connection String Erik Wienhold <[email protected]>
@ 2024-09-18 21:44   ` tiamoh m <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: tiamoh m @ 2024-09-18 21:44 UTC (permalink / raw)
  To: Erik Wienhold <[email protected]>; +Cc: [email protected]

Thank you Erik.

On Wed, Sep 18, 2024 at 1:53 PM Erik Wienhold <[email protected]> wrote:

> On 2024-09-18 17:08 +0200, tiamoh m wrote:
> > I wish to find out the connection string to only establish ssl connection
> > after it is set up.
>
> Use sslmode=require (or verify-ca/verify-full if necessary) for that:
>
> https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS
>
> --
> Erik
>


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-09-18 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-18 15:08 SSL Connection String tiamoh m <[email protected]>
2024-09-18 17:53 ` Erik Wienhold <[email protected]>
2024-09-18 21:44   ` tiamoh m <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox