Re: SSL Connection String

From: tiamoh m <tiamohm25(at)gmail(dot)com>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: SSL Connection String
Date: 2024-09-18 21:44:25
Message-ID: CAPsGGUrsqaBrZ9UTvCsPfW3aGFQbVnx6zuFNrR9n=UO2YonoKQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thank you Erik.

On Wed, Sep 18, 2024 at 1:53 PM Erik Wienhold <ewie(at)ewie(dot)name> 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
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Asad Ali 2024-09-19 06:00:26 Re: Automatic failback
Previous Message Erik Wienhold 2024-09-18 17:53:33 Re: SSL Connection String