Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

fix curl ssl issue on windows #32

Merged
merged 1 commit into from
Aug 9, 2017
Merged

fix curl ssl issue on windows #32

merged 1 commit into from
Aug 9, 2017

Conversation

azettl
Copy link
Contributor

@azettl azettl commented Aug 9, 2017

On Windows with a Standard XAMPP installation the curl request returns a status of 0.

To fix this problem i added the latest bundle of CA root certificates from https://curl.haxx.se/ via

curl_setopt($curl, CURLOPT_CAINFO, dirname(FILE) . '/cacert.pem');

@machadoit
Copy link
Contributor

LGTM!

I can see that the added file is the latest https://curl.haxx.se/ca/cacert-2017-06-07.pem, thank you very much.

@machadoit machadoit merged commit c0fc157 into archived-codacy:master Aug 9, 2017
@machadoit
Copy link
Contributor

@azettl
Copy link
Contributor Author

azettl commented Aug 9, 2017

Thanks 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants