SSL with a file-based certificate using MySqlConnection
Connection string
This MySQL Connector/Net connection string can be used for connections to MySQL.
Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
SSL Mode=Required;CertificateFile=C:\folder\client.pfx;CertificatePassword=pass;
This option is available from Connector/NET version 6.2.1