Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

SSL Cipher doesn't exist in MySqlConnectionStringBuilder (no replies)

$
0
0
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!

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>