clientcert может быть настроен только для строк "hostssl" - PullRequest
1 голос
/ 04 ноября 2019

Я пытаюсь добавить clientcert=1 в pg_hba.conf Может кто-нибудь сказать мне, где это добавить? Я пытаюсь добавить postgres как db в fabric-ca с sslmode=verify-ca

my pg_hba.conf выглядит так

# the database superuser.  If you do not trust all your local users,
# use another authentication method.


# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     trust
# IPv4 local connections:
host    all             all             127.0.0.1/32            trust
# IPv6 local connections:
host    all             all             ::1/128                 trust clientcert=1
# Allow replication connections from localhost, by a user with the
# replication privilege.
local   replication     all                                     trust
host    replication     all             127.0.0.1/32            trust
host    replication     all             ::1/128                 trust

host all all all md5
...