function init()
{
.
.
.
중략
.
.
curl_setopt($this->ch, CURLOPT_CAINFO, $this->home_dir."/conf/ca-bundle.crt");
}
위 구문의 유무에 따라 아래 case 1, case2 중 하나의 조치를 하시면 됩니다 (둘 다 하실필요는 없습니다)
case1. 위 구문이 있는 경우
(아래 파일 클릭시 다운로드)
c. 업로드 후 읽기권한 설정을 합니다 (chmod 644 ca-bundle.crt)
case2. 위 구문이 없는 경우
tosspayments-root-certificates.zip) 전체 파일 목록은 아래와 같습니다.tosspayments-root-certificates.zip
➜ ls
AmazonRootCA1.pem AmazonRootCA2.pem AmazonRootCA3.pem AmazonRootCA4.pem R46RootCA.crt SFSRootCAG2.pem USERTrustRootCA.crt