ssl connection with certificate - Mailing list pgsql-docs

From PG Doc comments form
Subject ssl connection with certificate
Date
Msg-id 161641626848.702.16905338782430191942@wrigleys.postgresql.org
Whole thread Raw
List pgsql-docs
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,

pgsql-docs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Wrong distance shown in miles for extension earthdistance
Next
From: Daniel Gustafsson
Date:
Subject: Update to reflect that TLS1 and TLSv1.1 are now deprecated