The following discussion describes how to create the files required for SSL and RSA support in MySQL. File creation is done by invoking the openssl command.
SSL certificate and key files enable MySQL to support secure connections using SSL. See Section 6.4, “Using Secure Connections”.
RSA key files enable MySQL to support secure password exchange
over unencrypted connections for accounts authenticated by the
sha256_password plugin. See
Section 6.5.1.4, “The SHA-256 Authentication Plugin”.