From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: George Woodring <george.woodring@iglass.net>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Can I disable sslcert/sslkey in pg_service.conf?
Date: Fri, 15 Jun 2018 00:02:02 -0400
Message-ID: <9112a21f-f45d-1e26-9d85-e50886c4366c@2ndquadrant.com> (raw)
In-Reply-To: <CACi+J=S0aLKyo266K6w3r=4uPXnkzYH3t1gO0XXHDrZHQ+9o+A@mail.gmail.com>
References: <CACi+J=S0aLKyo266K6w3r=4uPXnkzYH3t1gO0XXHDrZHQ+9o+A@mail.gmail.com>
On 6/14/18 15:06, George Woodring wrote:
> If I put the blanks into pg_service.conf:
>
> [mydb]
> dbname=mydb
> host=host1
> sslmode=require
> sslcert=
> sslkey=
>
> It does not work.
I can believe that.
> [woodring@ibeam]$ PGSERVICE=mydb psql
> psql: SSL error: tlsv1 alert unknown ca
>
> I tried the opposite of moving the .postgresql directory to a different
> name and putting a hard coded certificate path in pg_service, but it
> looks to have its own sets of challenges.
I think that's probably the best way out, though.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, george.woodring@iglass.net
Subject: Re: Can I disable sslcert/sslkey in pg_service.conf?
In-Reply-To: <9112a21f-f45d-1e26-9d85-e50886c4366c@2ndquadrant.com>
References: <CACi+J=S0aLKyo266K6w3r=4uPXnkzYH3t1gO0XXHDrZHQ+9o+A@mail.gmail.com> <9112a21f-f45d-1e26-9d85-e50886c4366c@2ndquadrant.com>
* 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