How to generate an SSL private key for use with MySQL/MariaDB and PDO Posted on 2020-08-10 [Monday] by Jay Jay To generate an SSL private key for use with MySQL/MariaDB and PDO: openssl genrsa -out client-key.pem 4096