Hi,
I'm trying to create a MySqlConnection with some SSL parameters, but none of this combinations: "cipher", "sslcipher", "ssl_cipher", "ssl-cipher" or "ssl cipher" are not allowed in connectionString.
Can you help me with this issue? I'm trying this:
var builder = new MySqlConnectionStringBuilder();
builder.Server = "127.0.0.1";
builder.Port = 3306;
builder.UserID = "root";
builder.Password = "password";
builder.SslCert = "C:\\file.pem";
builder.SslKey = "C:\\file.pem";
builder.SslCa = "C:\\file.pem";
builder.SslCipher = "TLS_RSA_WITH_DES_CBC_SHA"; //doesn't have this property
var conn = new MySqlConnection(builder.ToString());
conn.Open();
Regards,
Ivan!
I'm trying to create a MySqlConnection with some SSL parameters, but none of this combinations: "cipher", "sslcipher", "ssl_cipher", "ssl-cipher" or "ssl cipher" are not allowed in connectionString.
Can you help me with this issue? I'm trying this:
var builder = new MySqlConnectionStringBuilder();
builder.Server = "127.0.0.1";
builder.Port = 3306;
builder.UserID = "root";
builder.Password = "password";
builder.SslCert = "C:\\file.pem";
builder.SslKey = "C:\\file.pem";
builder.SslCa = "C:\\file.pem";
builder.SslCipher = "TLS_RSA_WITH_DES_CBC_SHA"; //doesn't have this property
var conn = new MySqlConnection(builder.ToString());
conn.Open();
Regards,
Ivan!