Search Postgresql Archives

Configuring only SSL in postgres docker image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux