Using SSL for connection to database server ΒΆ
It is recommended to use SSL when connecting to remote database server. There are several configuration options involved in the SSL setup:
$cfg['Servers'][$i]['ssl']- Defines whether to use SSL at all. If you enable only this, the connection will be encrypted, but there is not authentication of the connection - you can not verify that you are talking to the right server.
$cfg['Servers'][$i]['ssl_key']and$cfg['Servers'][$i]['ssl_cert']- This is used for authentication of client to the server.
$cfg['Servers'][$i]['ssl_ca']and$cfg['Servers'][$i]['ssl_ca_path']- The certificate authorities you trust for server certificates. This is used to ensure that you are talking to a trusted server.
$cfg['Servers'][$i]['ssl_verify']- This configuration disables server certificate verification. Use with caution.