-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
If the target is an older version of sql server, it is possible that it only supports tls 1.0. Although it is not secure, can the openssl feature be added to enable tiberius to connect to it, thereby increasing compatibility?
For example, the target is Windows Server 2008 and mandatory encryption is enabled.
If the rust-openssl library is used, then it is possible to:
`let mut ctx: openssl::ssl::SslConnectorBuilder = SslConnector::builder(SslMethod::tls())?;
ctx.set_security_level(0);
ctx.set_options(SslOptions::ALLOW_UNSAFE_LEGACY_RENEGOTIATION);
ctx.set_verify(openssl::ssl::SslVerifyMode::NONE);
ctx.set_options(SslOptions::DONT_INSERT_EMPTY_FRAGMENTS);`
Metadata
Metadata
Assignees
Labels
No labels