Re: Force SSL connection

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: rakeshkumar464 <rakeshkumar464(at)outlook(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Force SSL connection
Date: 2017-10-16 14:19:04
Message-ID: 32048.1508163544@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

rakeshkumar464 <rakeshkumar464(at)outlook(dot)com> writes:
> In PG 9.6 or PG 10, is there a way to force only SSL based connections coming
> from pgadmin or dbeaver.

I think you could set that up with a custom pg_hba.conf entry or two.
Something like

hostnossl ... pgadmin ... reject

before the line that would normally accept the connection.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Achilleas Mantzios 2017-10-16 14:23:44 Re: Using Substitution Variables In PostgreSQL
Previous Message Osahon Oduware 2017-10-16 14:08:39 Using Substitution Variables In PostgreSQL