sslbrain rotates the server certificate used by the MySQL classic protocol and activates it for new SQL connections.
Free for up to 5 servers
sslbrain rotates the server certificate used by the MySQL classic protocol and activates it for new SQL connections.
What happens
- Choose whether the service agent fetches the task from the appliance or the appliance sends it over SSH.
- Discovery reads the running MySQL configuration to find the certificate and key files for the classic SQL listener.
- The integration replaces the configured PEM files and runs ALTER INSTANCE RELOAD TLS. If it fails: If activation fails, the integration restores the previous files during the same run.
- Verification opens a fresh local connection using the SQL protocol and compares the TLS certificate fingerprint with the expected value.
Technical details
- Connection
- The integration runs on the Linux server. The service agent fetches the task over outbound HTTPS on port 443, or the appliance sends it over SSH on port 22 by default.
- Service ports
- 3306
- What you need
- The account needs write access to the certificate and key files and must be able to connect with the MySQL client over the local Unix socket. Use a protected client option file or socket authentication and grant the SQL account CONNECTION_ADMIN.
- Actions
- Discovery, Installation, Verification; no rollback action
- Integrations
-
mysql-ssh
Manual installation
To install it by hand, get the certificate with Download on the certificate in the format MySQL uses: PEM, chain, DER, P7B, PFX or JKS. Install it with the product's own tool. The next discovery shows the new certificate, and you repeat the two steps at every renewal.
Next steps
Free for up to 5 servers
sslbrain rotates the server certificate used by the MySQL classic protocol and activates it for new SQL connections.