Skip to content

XAMPP(Windows)でSSL証明書エラー #10

@gracix

Description

@gracix

XAMPP上でテストをしているのですが、XAMPP 1.8.2 (PHP 5.4.16) を使用すると

RakutenRws_Exception [ Error ]: http reqeust error: SSL certificate problem: unable to get local issuer certificate

{
40 $rawResponse = curl_exec($curl);
41
42 if ($rawResponse === false) {
43 $msg = curl_error($curl);
44 throw new RakutenRws_Exception('http reqeust error: '.$msg);
45 }
46
47 $parts = preg_split('/((?:\r?\n){2})/', $rawResponse, -1, PREG_SPLIT_DELIM_CAPTURE);
48 for ($i = count($parts) - 3; $i >= 0; $i -= 2) {
49 if (preg_match('/^http//i', $parts[$i])) {

エラーはこのソースの44行目を指しています。

XAMPP 1.7.7 (PHP 5.3.8) では問題なく動いておりました。

何か対処方法がありますでしょうか。

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions