MySQL - SSL connection

Card Puncher Data Processing


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

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

For the authentication:

  • You have the private key private of the client You need to keep it private.
  • The MySQL Server has the public key of the client


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


Discover More
Gcp Sql Gerardnico Public Ip
MySql - Google Cloud Platform Database Creation and Connection

Article the connection to a MySQL GCP (Google Cloud Platform) database with: the IP configuration (Private or Public access) Ssl and a...

Share this page:
Follow us:
Task Runner