为SSLconfigurationMySQL,但SSL仍然处于禁用状态。
我使用以下脚本为MySQLconfiguration了SSL。 #!/bin/bash # mkdir -p /root/abc/ssl_certs cd /root/abc/ssl_certs # echo "–> 1. Create CA cert, private key" openssl genrsa 2048 > ca-key.pem echo "–> 2. Create CA cert, certificate" openssl req -new -x509 -nodes -days 1000 -key ca-key.pem > ca-cert.pem echo "–> 3. Create Server certificate, key" openssl req -newkey rsa:2048 -days 1000 -nodes -keyout […]