SSL Cipher doesn't exist in MySqlConnectionStringBuilder
Posted by: Ivan Djokic
Date: December 12, 2019 03:38PM


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 = "";
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());


Options: ReplyQuote

Written By
SSL Cipher doesn't exist in MySqlConnectionStringBuilder
December 12, 2019 03:38PM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.