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

Fix certificate validation for ODBC driver #33

Closed
wants to merge 16 commits into from

Conversation

Yury-Fridlyand
Copy link

Description

  • Having this fix driver doesn't ignore user preferences for Hostname Verification parameter, and once it unset driver can establish SSL connection even if self-signed certificates are used
  • AWS SDK compilation workflow changed to use libcurl instead of winhttp as a transport library
    • libcurl shipped by vcpkg according to the doc
  • AWS SDK updated
  • Fixed crash in driver caused by improper libcurl resource release (incorrect order)

This PR has all changes from PRs opensearch-project#28, opensearch-project#29 and opensearch-project#30 collected alltogether.
Duplicate of opensearch-project#32, but with fix of DCO in 02dbf02 (rebased).

Issues Resolved

opendistro-for-elasticsearch/sql#686
opendistro-for-elasticsearch/sql#783
opensearch-project/sql-odbc#15
opensearch-project/sql-odbc#8
Applicable for ODFE too

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Yury-Fridlyand and others added 16 commits February 22, 2022 21:34
Signed-off-by: Yury Fridlyand <[email protected]>
Signed-off-by: Yury Fridlyand <[email protected]>
Signed-off-by: Yury Fridlyand <[email protected]>
Co-authored-by: Kyle Porter <[email protected]>
Signed-off-by: Yury Fridlyand <[email protected]>
Signed-off-by: Yury Fridlyand <[email protected]>
@Yury-Fridlyand Yury-Fridlyand deleted the odbc-fix-certificate-validation-4 branch June 17, 2022 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant