How to setup MariaDB SSL and secure connections from clients

Originally published at: https://www.cyberciti.biz/faq/how-to-setup-mariadb-ssl-and-secure-connections-from-clients/

I am looking to setup MariaDB SSL (Secure Sockets Layer) and secure connections from MySQL client and PHP application. How do I enable SSL for MariaDB server and client running on Linux or Unix-like system?


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki