Toggle navigation
Type: bool
Default: off
Context: postmaster
Restart: true

Enables SSL connections. Please read ssl-tcp before using this. The default is off. This parameter can only be set at server start. SSL communication is only possible with TCP/IP connections.


One of several different settings to turn on SSL connections for PostgreSQL. SSL is a very good idea for highly secure setups. In addition, you must compile in SSL support and set SSL connections in pg_hba.conf, as well as configuring SSL itself.