8.1 Ensure 'require_secure_transport' is Set to 'ON' and 'have_ssl' is Set to 'YES'

Information

All network traffic must use SSL/TLS when traveling over untrusted networks.

Rationale:

Enabling SSL/TLS will allow clients to encrypt network traffic and verify the identity of the server. SSL/TLS helps to prevent eavesdropping and man-in-the-middle attacks.

Impact:

Enabling SSL/TLS could have impact on network traffic inspection.

Solution

Follow the procedures as documented in the MariaDB KnowledgeBase to setup TLS.
In your MariaDB configuration file, enable require_secure_transport:

require_secure_transport=ON;

Default Value:

require_secure_transport is disabled (OFF, 0) by default. have_ssl defaults to DISABLED.

See Also

https://workbench.cisecurity.org/benchmarks/16527

Item Details

Category: ACCESS CONTROL, IDENTIFICATION AND AUTHENTICATION, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|AC-17(2), 800-53|IA-5, 800-53|IA-5(1), 800-53|SC-8, 800-53|SC-8(1), CSCv7|14.4

Plugin: MySQLDB

Control ID: b97bb3a849898c25d8388cfa8ec8d2362c9ff8db16a74417b124d6990531aa20