General

Connecting MySQL ODBC to Use SSL Certificates

Using SSL

Driver={MySQL ODBC 5.1 Driver};Server=myServerAddress;Database=myDataBase;
User
=myUsername;Password=myPassword;sslca=c:\cacert.pem;
sslcert
=c:\client-cert.pem;sslkey=c:\client-key.pem;sslverify=1;Option=3;

SSLCA specifies the path to a file with a list of trust SSL CAs

SSLCERT specifies the name of the SSL certificate file to use for establishing a secure connection.

SSLKEY specifies the name of the SSL key file to use for establishing a secure connection.

Leave a Reply

Your email address will not be published. Required fields are marked *