Configuring only SSL in postgres docker image

Поиск
Список
Период
Сортировка
От Shankar Bhaskaran
Тема Configuring only SSL in postgres docker image
Дата
Msg-id CA+DMY5Q3R7-TaNTy=9yPnaAeeVfQMbU0i3n_6+8UemOBPX5q0w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Configuring only SSL in postgres docker image  (Paul Förster <paul.foerster@gmail.com>)
Список pgsql-general
Hi ,

I am trying to enable ssl on postgres docker image . The postgres  image should only support SSL . I did configure the  command:" -c ssl=on -c ssl_key_file=/opt/postgresql/server.key -c ssl_cert_file=/opt/postgresql/server.crt"   in the docker compose file. 
I also added the following entry in the pg_hba.conf after commenting all other host entries 
"hostssl   all  all   all md5".

But I am able to make ssl as well as non ssl connections to the postgres image. 

My observation is the command only updates the postmaster.opts file and not the postgres.conf file . 

Could I get some help 

Regards,
Shankar

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

Предыдущее
От: Ben Chobot
Дата:
Сообщение: Re: 12.3 replicas falling over during WAL redo
Следующее
От: Ben Chobot
Дата:
Сообщение: Re: 12.3 replicas falling over during WAL redo