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

Only the first call work and all other call receive CONNECTION_SECURE #52

Open
crreddys opened this issue Jun 11, 2018 · 1 comment
Open

Comments

@crreddys
Copy link

NSURLConnection is caching even i disable the cache.

Created a fork and made changes and waiting for feedback. I am using NSURLSession instead of NSURLConnection.

https://github.com/crreddys/SSLCertificateChecker-PhoneGap-Plugin

@jacobweber @EddyVerbruggen can you guys take a look.

@crreddys
Copy link
Author

In our use case we have 3 servers which I am verifying cert pinning. Here is the scenario let’s assume we are having man in the middle attack for server 2. When I am first checking the server 1, I get valid response back and all subsequent calls are cached and it always returns true irrespective of the server.

With this change, the calls won’t be cached anymore.

Created PR for this change.

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

1 participant