Toggle navigation
Type: bool
Default: off
Context: sighup
Restart: false

Enables SSL connections. Please read ssl-tcp before using this. This parameter can only be set in the postgresql.conf file or on the server command line. The default is off.


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.