Skip to content

Disable SSL verification #1

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

Closed
wants to merge 1 commit into from
Closed

Disable SSL verification #1

wants to merge 1 commit into from

Conversation

waltertamboer
Copy link

Made it possible to disable SSL verification. This should never be used in production environments but it makes developing a lot easier when no certificates are installed (e.g. a local installation).

I did not make the HTTP client publicly available with a getter since it's not available right now either. Instead I introduced two methods in the client which are directed to the HTTP client itself.

When the SSL verification flag is not set, PHP's default behavior is used.

@waltertamboer
Copy link
Author

Also solves issue #3

@bviolier
Copy link
Contributor

Could you provide me an example in which case this would be used? In case of a testing environment, I would argue that you would Mock the class to catch a request.

Also, disabling the SSL verification would make it possible for a man-in-the-middle attack that could steal your used accesskey on your development environment.

@waltertamboer waltertamboer deleted the feature/disable-ssl branch June 9, 2015 22:20
gedimin45 pushed a commit that referenced this pull request Aug 15, 2016
marcelcorso pushed a commit that referenced this pull request Dec 18, 2019
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.

2 participants