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

后端 未结 5 1489
我在风中等你
我在风中等你 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:36

    I have Very Simple Solution of this problem. You can do this without any certificate file..

    Go on Laravel Root Folder -> Vender -> guzzlehttp -> guzzle -> src

    open Client.php

    find $defaults Array . that look like this way ..

    $defaults = [
        'allow_redirects' => RedirectMiddleware::$defaultSettings,
        'http_errors'     => true,
        'decode_content'  => true,
        'verify'          => true,
        'cookies'         => false
    ];
    

    Now main Job is to change value of verify key ..

    'verify'          => false,
    

    So After this it will not check SSL Certificate for CURL Request... This Solution is work for me. I find this solution after many research ...

提交回复
热议问题