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

Emulator : Adds support for flag in connection string to ignore SSL check #4251

Merged

Conversation

sourabh1007
Copy link
Contributor

@sourabh1007 sourabh1007 commented Jan 15, 2024

Description

Add code to read IgnoreEndpointCertificate flag from connection string to ignore SSL certificate check in SDK. It is useful for local development with emulator.
It is not recommended to use this in production account.
Customers who are using HttpClientFactory, still needs to use the work around.

Type of change

  • [] New feature (non-breaking change which adds functionality)

Closing issues

To automatically close an issue: closes #4222

@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/readignorecertflag branch 2 times, most recently from 5283481 to ba7027f Compare January 17, 2024 12:12
@sourabh1007 sourabh1007 marked this pull request as ready for review January 17, 2024 16:38
@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/readignorecertflag branch 2 times, most recently from 4d81ec3 to 6e8379f Compare January 18, 2024 11:03
ealsur
ealsur previously approved these changes Jan 18, 2024
Copy link
Member

@ealsur ealsur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please verify the Connection String format is ok with the emulator team

@sourabh1007 sourabh1007 changed the title IgnoreCertFlag: Adds flag support to ignore SSL check CosmosClient : Adds support for flag in connection string to ignore SSL check Jan 18, 2024
@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/readignorecertflag branch from fd9b816 to e552297 Compare January 19, 2024 03:52
@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/readignorecertflag branch from bf239fc to c2c3438 Compare January 22, 2024 02:45
@sourabh1007 sourabh1007 added the auto-merge Enables automation to merge PRs label Jan 22, 2024
@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/readignorecertflag branch from 9c6db2e to 4f4cc28 Compare January 22, 2024 21:03
@microsoft-github-policy-service microsoft-github-policy-service bot merged commit f33b2af into master Jan 24, 2024
20 checks passed
@microsoft-github-policy-service microsoft-github-policy-service bot deleted the users/sourabhjain/readignorecertflag branch January 24, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Enables automation to merge PRs
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add support for ignoring SSL certificate for emulator connections
5 participants