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

Insecure SSL Validation #4

Open
Zyano opened this issue Sep 19, 2017 · 1 comment
Open

Insecure SSL Validation #4

Zyano opened this issue Sep 19, 2017 · 1 comment

Comments

@Zyano
Copy link

Zyano commented Sep 19, 2017

Hello,

While this is a nice example and demonstrates who to do the authentication with Qlik I do believe that the following line:
ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
Source

It is dangerous since it will affect all subsequent certificate validations, even for requests that are unrelated to the Qlik implementation.

@braathen
Copy link
Owner

I totally agree, it's a dumb way of doing it... If there's a desire to NOT validate the cert then it's probably a lot better to use HttpWebRequest.ServerCertificateValidationCallback on the specific request to not disturb others. Just need to find the time to look at this some day....

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

No branches or pull requests

2 participants