SyntaxFix
Write A Post
Hire A Developer
Questions
psql -h <host> -p <port> -U <user> -d <db>
and update /var/lib/pgsql/10/data/pg_hba.conf to change the auth method to cert. Check the following link for more information:
/var/lib/pgsql/10/data/pg_hba.conf
cert
https://www.postgresql.org/docs/9.1/auth-pg-hba-conf.html