Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
- curl_setopt($ch, CURLOPT_CAINFO, realpath(getcwd() . '/cacert.pem'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement