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

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!

Options: ReplyQuote


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


Sorry, you can't reply to this topic. It has been closed.

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.