Table of Contents

MySQL - SSL connection

About

What is Sender authentication ? (Public Key Authentication based, Certificate-based in Cryptography) and SSL - Handshake (Negociation) with MySql

The client is below the mysql cli but it can be another implementation.

For the authentication:

Example

mysql \
    -u root \
    -p password \
    -h hostIPorName \ 
    --ssl-ca=server-ca.pem \
    --ssl-cert=client-cert.pem \
    --ssl-key=client-key.pem

where: