0

I am developing app to get json data from other site and show in html table in laravel.
I use Guzzle to send request.(stackoverflow question and finally use Guzzle)
when i called request based on http to External API,it's show me correct data!
my problem is:
when i call the HTTPS link to get data in laravel,it goes to ssl error.
some of API addresses just work in HTTPS,

cURL error 60: SSL certificate problem: unable to get local issuer certificate

what can i do?

1 Answer 1

1

Solved!
this is my answer

1-Download this file: http://curl.haxx.se/ca/cacert.pem
2-Place this file in the C:\wamp64\bin\php\php7.1.9 folder
3-Open php.iniand find this line:
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.