广州明生医药有限公司


MySQL Variables ssl_cert 数据库 参数变量解释及正确配置使用

网络编程 MySQL Variables ssl_cert 数据库 参数变量解释及正确配置使用 10-19

本站中文解释

ssl_cert参数变量指定MySQL服务器使用的SSL客户端证书的文件位置。该参数仅在MySQL安装了SSL加密模块时才有用。

要设置ssl_cert参数,请打开MySQL的配置文件my.cnf,在[mysqld]部分添加以下内容:

ssl_cert=你的证书文件所在的位置

然后保存文件并重启MySQL服务器,以使设置生效。

官方英文解释

ssl_cert

Command-Line Format--ssl-cert=file_name
System Variablessl_cert
ScopeGlobal
DynamicNo
TypeFile name
Default ValueNULL

The path name of the server SSL public key certificate file in
PEM format.

If the server is started with
ssl_cert set to a certificate
that uses any restricted cipher or cipher category, the server
starts with support for encrypted connections disabled. For
information about cipher restrictions, see
Connection Cipher Configuration.


编辑:广州明生医药有限公司

标签:参数,证书,位置,服务器,文件