PHP ~ curl https

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);


reference
http://taichunmin.pixnet.net/blog/post/35782941-%5Bphp%5Dcurl%E4%BD%BF%E7%94%A8https%E9%81%87%E5%88%B0ssl-certificate-problem

沒有留言: