Certficates

From: Shankar Bhaskaran <mailshankarb(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Certficates
Date: 2020-08-10 17:53:43
Message-ID: CA+DMY5RMecBdKhj9VWy6aZcd7EB=jPcHekkVgbiG8mn06T6oSQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

This is a very basic question . i have to import the server.crt on the
client side java trustore to connect using jdbc to postgres server secured
by ssl.
But when i try psql from same machine , it shows the connection as
encrypted . How does psql import the server certificate?

psql "postgresql://$POSTGRES_HOST:$PG_PORT/postgres" -U postgres
psql (9.6.18)
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384,
bits: 256, compression: off)
Type "help" for help.

Regards,
Shankar

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin Gainty 2020-08-10 18:10:55 Re: Certficates
Previous Message Michael Nolan 2020-08-10 17:49:54 Re: SQL Question about like