Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

In a localhost environment how to set DatasyncClient to bypass SSL validation #842

Discussion options

You must be logged in to vote

You need to create a new HttpClientHandler that automatically sets the ServerCertificateCustomValidationCallback to always return true.

Then pass that into the DatasyncClientOptions as the last thing in the HttpPipeline.

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@Arslan007
Comment options

@ideas2appsaustralia
Comment options

Comment options

You must be logged in to vote
3 replies
@ideas2appsaustralia
Comment options

@adrianhall
Comment options

@ideas2appsaustralia
Comment options

Answer selected by ideas2appsaustralia
Comment options

You must be logged in to vote
1 reply
@adrianhall
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants