以下内容说明了如何创建 MySQL 中 SSL 和 RSA 支持所需的文件。文件创建可以使用 MySQL 提供的功能完成,也可以直接调用 openssl 命令。The following discussion describes how to create the files required for SSL and RSA support in MySQL. File creation can be performed using facilities provided by MySQL itself, or by invoking the openssl command directly.
SSL 证书和密钥文件使 MySQL 能够支持使用 SSL 的加密连接。参见 第 8.3.1 节,“配置 MySQL 使用加密连接”。SSL certificate and key files enable MySQL to support encrypted connections using SSL. See Section 8.3.1, “Configuring MySQL to Use Encrypted Connections”.
RSA 密钥文件使 MySQL 能够在未加密连接上支持通过 sha256_password(已弃用)或 caching_sha2_password 插件认证的帐户进行安全密码交换。参见 第 8.4.1.3 节,“SHA-256 可插拔身份验证”,以及 第 8.4.1.2 节,“缓存 SHA-2 可插拔身份验证”。RSA key files enable MySQL to support secure password exchange
over unencrypted connections for accounts authenticated by the
sha256_password (deprecated) or
caching_sha2_password plugin. See
Section 8.4.1.3, “SHA-256 Pluggable Authentication”, and
Section 8.4.1.2, “Caching SHA-2 Pluggable Authentication”.