Re: psql connect over ssl load balancer

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql connect over ssl load balancer
Дата
Msg-id 1293485.1653327159@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql connect over ssl load balancer  ("dzagashev@gmail.com" <dzagashev@gmail.com>)
Ответы Re: psql connect over ssl load balancer
Список pgsql-general
"dzagashev@gmail.com" <dzagashev@gmail.com> writes:
> I want to secure connections to postgress server usings SSL.
> My server is deployed on google cloud behind SSL load balancer, which 
> terminates SSL connections (using SSL certificates, issued by google) 
> and forwards decrypted traffic to the posgres server.
> But standard psql client don't working:
> $ PGSSLMODE=require psql -h proxy.softvisio.net

That isn't going to work, because PG wraps the SSL handshake inside
its own protocol.  You could set up an SSL tunnel and let psql think
it's making a non-encrypted connection.

            regards, tom lane



В списке pgsql-general по дате отправления: