sqlx icon indicating copy to clipboard operation
sqlx copied to clipboard

[mssql] feature request: support for connection encryption

Open njust opened this issue 5 years ago • 4 comments

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.

njust avatar Jun 16 '20 09:06 njust

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.

mehcode avatar Jun 16 '20 09:06 mehcode

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 :)

jmmv avatar Apr 25 '21 17:04 jmmv

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

abonander avatar Nov 30 '21 20:11 abonander

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

yatesco avatar May 31 '22 15:05 yatesco