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
machadoit merged 1 commit into
archived-codacy:masterfrom
azettl:master
Aug 9, 2017
Merged

fix curl ssl issue on windows#32
machadoit merged 1 commit into
archived-codacy:masterfrom
azettl:master

Conversation

@azettl

@azettl azettl commented Aug 9, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor

@azettl

azettl commented Aug 9, 2017

Copy link
Copy Markdown
Contributor Author

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