Re: “tlsv1 alert unknown ca” with PQconnectdb

2021-08-04 Thread Tom Lane
M Tarkeshwar Rao writes: > I am trying psql with following options where I am providing client > certificates also. It is connected perfectly. > psql "host= 10.10.11.18 sslmode=verify-ca sslrootcert=em-ca-crt.pem > sslcert=em-client-crt.pem sslkey=em-client-key.pem port=5433 user=postgres > dbn

“tlsv1 alert unknown ca” with PQconnectdb

2021-08-04 Thread M Tarkeshwar Rao
Hi all, I made following changes in my Postgres server which means I am enabling one way authentication: (Disabled Mutual authentication. Only client will authenticate server.) hostssl all myuser 0.0.0.0/0 md5 clientcert=0 I am trying psql with following optio