AWS SSL security error : [curl] 60: SSL certificate prob…: unable to get local issuer certificate

后端 未结 5 1496
我在风中等你
我在风中等你 2020-12-15 17:07

I am trying to connect Amazon\'s S3 files from my (localhost) Windows 8 machine running AppServ 2.5.10 (which includes Apache 2.2.8, php 5.2.

5条回答
  •  一个人的身影
    2020-12-15 17:42

    $s3 = new S3Client
             ([
                'version' => 'latest',
                'scheme' =>'http',
                'region'  => $this->config->item('s3_region'),
                'credentials' => [
                    'key'    => $this->config->item('s3_access_key'),
                    'secret' => $this->config->item('s3_secret_key')
                ],
            ]);
    

    add Scheme to http if your protocol is Http

提交回复
热议问题