Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encryption is missing #3

Open
wonderix opened this issue Nov 22, 2020 · 2 comments
Open

Encryption is missing #3

wonderix opened this issue Nov 22, 2020 · 2 comments
Labels
restriction Restrictions, which is shown on the README under Restrictions

Comments

@wonderix
Copy link
Owner

It's not possible to open TLS encrypted connections

@wonderix wonderix added the restriction Restrictions, which is shown on the README under Restrictions label Nov 22, 2020
@stakach
Copy link

stakach commented Sep 8, 2021

Looking at this article you need to start SSL after the connection is established.
https://www.datasunrise.com/blog/professional-info/encryption-in-microsoft-sql-server/

LDAP works in a similar way, this is an example of negotiating SSL / TLS on an exising connection
(the last line of this function)
https://github.com/spider-gazelle/crystal-ldap/blob/master/src/ldap/client.cr#L127-L139

Hope that helps

@wonderix
Copy link
Owner Author

Thanks for this link. It really explains the handshake quite well. It's easier to understand compared to studying the freetds code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
restriction Restrictions, which is shown on the README under Restrictions
Projects
None yet
Development

No branches or pull requests

2 participants