SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
마스터욱
0
31
0
0
2018-08-20 22:43:56
텔레그램 push 를 개발하는 과정에서 curl 을 사용하는 도중에 아래와 같은 에러가 발생했다.
SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
위 에러시 해결방법은 간단한다.
curl 옵션을 아래와 같이 세팅해주면 된다.
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
무엇을 의미하는지는 모르겠다~ 잘돌아가면 됐지 뭐 -_-;