launchbadge / sqlx

🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
Apache License 2.0
13.15k stars 1.24k forks source link

[mssql] feature request: support for connection encryption #414

Open njust opened 4 years ago

njust commented 4 years ago

I'm really happy to see that you are working on mssql support for sqlx. I really would like to use sqlx with an azure managed mssql database, which requires connection encryption.

mehcode commented 4 years ago

Definitely on the table. This is pretty trivial all things considered, so it shouldn't be much of a stretch to get this in soon.

jmmv commented 3 years ago

Sooo... I've been hitting my head against this for the whole week and finally gotten sqlx to correctly negotiate TLS with Azure SQL serverless. Trivial in principle as you said, but wrapping TLS over TDS has proven tricky. Anyhow, I hope to clean up the changed I made (which are a huge mess right now) sometime this week and send a PR :)

abonander commented 2 years ago

For those searching the issue tracker, I'm adding some keywords here: ConnectionAborted, database.windows.net

yatesco commented 2 years ago

hi @abonander - do you have any idea about when this will be delivered? Thanks!