PHP curl, error setting certificate verify locations
페이지 정보
본문
ㅁ 현상
PHP 의 curl 에서 아래와 같은 오류가 발생한다.
Error!! : 60
error setting certificate verify locations:
CAfile: /usr/share/ssl/certs/ca-bundle.crt
CApath: none
ㅁ 해결방법
curl 옵션 부분에 아래 구문을 추가하면 verify 하지 않게 된다.
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
** 출처 : https://curl.haxx.se/mail/curlphp-2005-11/0038.html
PHP 의 curl 에서 아래와 같은 오류가 발생한다.
Error!! : 60
error setting certificate verify locations:
CAfile: /usr/share/ssl/certs/ca-bundle.crt
CApath: none
ㅁ 해결방법
curl 옵션 부분에 아래 구문을 추가하면 verify 하지 않게 된다.
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
** 출처 : https://curl.haxx.se/mail/curlphp-2005-11/0038.html
추천0
댓글목록
등록된 댓글이 없습니다.