Skip to content

Commit 2b27aa0

Browse files
committed
fix pg_hba_config based on new changes
1 parent dc5b70f commit 2b27aa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/setup-pg_hba.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ else
2525
if [[ "${SSL_KEY_FILE}" != '/etc/ssl/private/ssl-cert-snakeoil.key' ]]; then
2626
PG_CONF_HOST='hostssl'
2727
CERT_AUTH='cert'
28-
CLIENT_VERIFY=
28+
CLIENT_VERIFY='clientcert=verify-full'
2929
else
3030
# Used when using the default ssl certs
3131
PG_CONF_HOST='hostssl'
3232
CERT_AUTH=${PASSWORD_AUTHENTICATION}
33-
CLIENT_VERIFY='clientcert=0'
33+
CLIENT_VERIFY=
3434
fi
3535

3636
fi

0 commit comments

Comments
 (0)