Re: SSL enabled connection for PostgreSQL - Mailing list pgsql-admin

From David G. Johnston
Subject Re: SSL enabled connection for PostgreSQL
Date
Msg-id CAKFQuwbBWgas4JMpUBEYQHSRKkG4Cw89+fu2fK89DqUNf2stnQ@mail.gmail.com
Whole thread Raw
In response to SSL enabled connection for PostgreSQL  (Rajeshwar Singh <singh.rajeshwar@gmail.com>)
Responses Re: SSL enabled connection for PostgreSQL
List pgsql-admin


On Monday, June 5, 2023, Rajeshwar Singh <singh.rajeshwar@gmail.com> wrote:
Hi...

I am setting up PostgreSQL 14 with SSL and passphrase. The postgresql.conf file has following entry:

ssl=on
.
.
ssl_passphrase_command='passphrase.txt'
ssl_passphrase_command_supports_reloads = on

Now when I try to connect using psql, it ask for Enter PEM pass_phrase:

Is there a way where client can be configured so it doesn't ask for pass phrase 

Go and re-read how ssl_passphrase_command works and then write a command that behaves in a compatible manner?

David J.
 

pgsql-admin by date:

Previous
From: Rajeshwar Singh
Date:
Subject: SSL enabled connection for PostgreSQL
Next
From: "David G. Johnston"
Date:
Subject: Re: SSL enabled connection for PostgreSQL