欢迎光临
我们一直在努力

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

本站中文解释

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 Variable ssl_cert
Scope Global
Dynamic No
Type File name
Default Value NULL

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.

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。