From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: cochoa@mulesol.es
Subject: ssl connection with certificate
Date: Mon, 22 Mar 2021 12:31:08 +0000
Message-ID: <161641626848.702.16905338782430191942@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/11/index.html
Description:
Good morning. Following the instructions
https://www.postgresql.org/docs/11/ssl-tcp.html I can't establish a local
connection with certificate. In the pg_hba.conf
hostssl all all 127.0.0.1/32 md5
clientcert=1
And in the postgresql.conf:
ssl_cert_file = '/etc/postgresql/11/main/server.crt'
ssl_key_file = '/etc/postgresql/11/main/server.key'
server is a certficate is generated.
The error all the time is the same, it cannot connect because either the
server is not activated or something is missing.
I need a possible solution. The installation I have done is the basic sudo
apt install postgresql on debian 10
Thanks and best regards,
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-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, cochoa@mulesol.es
Subject: Re: ssl connection with certificate
In-Reply-To: <161641626848.702.16905338782430191942@wrigleys.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