pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: syednaqi.hussain@veritas.com
Subject: BUG #18373: failed: could not open certificate file "/root/.postgresql/postgresql.crt": Permission denied
Date: Thu, 29 Feb 2024 14:44:31 +0000
Message-ID: <18373-01809faff08b12f1@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      18373
Logged by:          Syed Naqi Hussain
Email address:      syednaqi.hussain@veritas.com
PostgreSQL version: 15.0
Operating system:   Unix
Description:        

For Connection string = DRIVER=PostgreSQL
ODBC;SERVER=xy-postgresql;port=14321;Database=mydb;UID=postgres;PWD=*************************;CS=utf8;BoolsAsChar=0;ConnSettings=SET
CLIENT_ENCODING TO
'UTF8';LC_COLLATE='en_US.UTF-8';LC_CTYPE='en_US.UTF-8';ENCODING=UTF8;sslmode=verify-full;pqopt={sslrootcert='/tmp/...../dbcertpem'}

PG15 defaults to using $HOME/.postgresql/postgresql.crt when no sslcert in
the connection string.

This forces clients to include a sslcert in the connection.



Message-ID: <18373-01809faff08b12f1@postgresql.org>
Permalink:  ../18373-01809faff08b12f1@postgresql.org/
Also on:    postgresql.org/message-id/18373-01809faff08b12f1@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, syednaqi.hussain@veritas.com
  Subject: Re: BUG #18373: failed: could not open certificate file "/root/.postgresql/postgresql.crt": Permission denied
  In-Reply-To: <18373-01809faff08b12f1@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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