Manual:$wgDBssl/de

Details
Whether to use SSL in DB connection.

This setting is only used if  is set to   and   is an empty array. Otherwise the  flag must be set in the 'flags' option of the database connection to achieve the same functionality.

If you need to provide custom SSL certificates for SSL encryption, you should use  instead.