Any one can you please explain how to verify, and send https url using curl_setopt.
Thanks!
how to verify HTTPS url
Moderator: General Moderators
Re: how to verify HTTPS url
The only way it won't try to verify is if you specifically tell cURL not to. So... don't do that. Just make sure the URL starts with "https".
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: how to verify HTTPS url
Here are a couple settings that apply to SSL that may help you identify the problem:
CURLOPT_SSL_VERIFYPEER
CURLOPT_SSL_VERIFYHOST
CURLOPT_CAINFO
And also:
CURLOPT_FOLLOWLOCATION
CURLOPT_SSL_VERIFYPEER
CURLOPT_SSL_VERIFYHOST
CURLOPT_CAINFO
And also:
CURLOPT_FOLLOWLOCATION
(#10850)