3.7 Ensure SSL Key Files Have Appropriate Permissions

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

When configured to use SSL/TLS, MySQL relies on key files, which are stored on the host's filesystem. These key files are subject to the host's permissions structure.

Solution

Execute the following commands at a terminal prompt to remediate this setting using the Value from the audit procedure:
chown mysql:mysql <ssl_key Value>
chmod 400 <ssl_key Value>

See Also

https://workbench.cisecurity.org/files/1622