Re: Unable to connect with password protected ssl key file

From: Fahar Abbas <fahar(dot)abbas(at)enterprisedb(dot)com>
To: "Merkel, Christian" <Christian(dot)Merkel(at)allegion(dot)com>
Cc: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Unable to connect with password protected ssl key file
Date: 2022-05-16 08:36:52
Message-ID: CAJFwRrNpe2E5Oa5TDNwkm0CeA1z_aOC29kiA2_Jj24HD8tfmww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Merkel,

Can you please share the exact steps to reproduce and screenshot?

I am getting the following error message on psql (command-line tool for
PostgreSQL) for verify-full option:

psql.bin: root certificate file "/root/.postgresql/root.crt" does not exist
Either provide the file or change sslmode to disable server certificate
verification.

Can you please try your error message through psql
----
Steps
1.go into PostgreSQL binary path and execute this command

export PGSSLMODE=verify-full
2. no connect with psql
[root(at)localhost bin]# ./psql -U postgres -h localhost -p 5432 -d postgres
psql.bin: root certificate file "/root/.postgresql/root.crt" does not exist
Either provide the file or change sslmode to disable server certificate
verification.

If you are getting the same error message through psql then it is not an
issue with pgadmin4.

On Wed, May 11, 2022 at 4:23 PM Merkel, Christian <
Christian(dot)Merkel(at)allegion(dot)com> wrote:

> Hello,
>
>
>
> the pgadmin 6.8 software does support SSL mode Verify-Full on connect.
>
> But how is it possible to use a password protected client certificate key
> file to connect? (without password works)
>
>
>
> There is no prompt shown on connect nor could I find any other way to
> provide the password for the key.
>
> The whole application gets stuck in “connecting” to server for forever, so
> it’s also kind of a bug here(?)
>
>
>
> Best regards,
>
> Christian Merkel
>
>
>

--
Fahar Abbas
pgAdmin4 team
EnterpriseDB Corporation
Mobile: +92-333-5409707
Skype ID: *live:fahar.abbas*
Website: www.enterprisedb.com

Attachment Content-Type Size
Screen Shot 2022-05-16 at 1.28.16 PM.png image/png 528.8 KB

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Merkel, Christian 2022-05-16 09:40:32 RE: Unable to connect with password protected ssl key file
Previous Message Aditya Toshniwal 2022-05-13 05:50:44 Re: Columns error