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

Support for "Encryption Level" similar to the MSSQL Replication Agent option #282

Open
ikb42 opened this issue Jul 22, 2015 · 4 comments
Open
Labels
Idle Waiting for more information for a while...

Comments

@ikb42
Copy link

ikb42 commented Jul 22, 2015

MS SQL has an option for replication agents to skip certificate verification - see "Encryption Level" (-EncryptionLevel):
References:
https://msdn.microsoft.com/en-us/library/ms151227.aspx
http://www.informit.com/articles/article.aspx?p=661373&seqNum=2

Is something like this supported or planned for Tedious?

@bretcope
Copy link
Member

It's not planned, but if you want to submit a pull request, feel free.

@ikb42
Copy link
Author

ikb42 commented Jul 28, 2015

@bretcope I've spent a while looking at this but not getting very far. In my test I see that an encrypted connection is negotiated, but then the connection simply times out with "ETIMEOUT"?

@bretcope
Copy link
Member

I, sadly, am not going to be much help since I've never really touched that part of the code. I would try to track down a working implementation or seek advice from people more familiar with the protocol. Perhaps someone else who has contributed to Tedious can also chime in.

@arthurschreiber
Copy link
Collaborator

I'm not sure what you're trying to do here.

Tedious already supports the encrypt option, which ensures an encrypted connection is openend to the SQL Server. This works most of the time, but we've seen multiple cases where this is not working correctly. It's really hard to debug, and without a fully reproducible case I can't help you a lot.

Also, can you try again with the latest tedious version? I made some tiny changes to the way encrypted connections are set up which might help with your issue.

@MichaelSun90 MichaelSun90 added the Idle Waiting for more information for a while... label Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idle Waiting for more information for a while...
Projects
None yet
Development

No branches or pull requests

4 participants