-
Notifications
You must be signed in to change notification settings - Fork 17
Cannot use Connector with SQL Server if SSL is enforced #230
Copy link
Copy link
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.
Description
Activity
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.
Bug Description
I guess this should be considered a bug. I know that we do not need to enforce SSL when using a Connector, since it handles secure connection for us. However, on the other hand, with PostgreSQL and MySQL, we can use Connector even when SSL is enforced, so this makes SQL Server an exception where it doesn't work.
I know that Connector returns tedious options with
encrypt: falseso that connection is not double-encrypted. But perhaps there should be a way fortediousto know that we are already passing secure connection.Example code
Stacktrace
How to reproduce
Environment details