Can PostgreSQL have md5 auth for 1 IP range and certificate authentication for another IP range?

90 views Asked by At

I saw that in pg_hba.conf , we have the option to set different authentication for different IPs . Like can we set password (md5) authentication for 1 IP Range and certificate authentication for another IP range. Please help. Please share any good links for examples of implementing

enter image description here

1

There are 1 answers

0
MSTechnie On BEST ANSWER

Yes possible. I tried myself and it worked.