anlutro / php-curl

Simple PHP curl wrapper class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call Https

ahmed-bermawy opened this issue · comments

when i try to call https instead of http i have this error:
cURL request failed with error [60]: SSL certificate problem: self signed certificate in certificate chain

The problem is what it says. If you google "self signed certificate in certificate chain" you'll probably find some answers. You either need to install the CA you created yourself on the client machine, or use a publicly trusted CA. Maybe check out https://letsencrypt.org/