exchanges-php icon indicating copy to clipboard operation
exchanges-php copied to clipboard

Running on development

Open reactmore opened this issue 1 year ago • 1 comments

hi, im trying running in localhost always give response cURL error 60: SSL certificate problem: unable to get local issuer certifica.... , any solution ? thanks

reactmore avatar Oct 26 '24 10:10 reactmore

$exchange->setOptions([
    //Set the request timeout to 60 seconds by default
    'timeout'=>10,
    
    //https://github.com/guzzle/guzzle
    'proxy'=>[],
    //https://www.php.net/manual/en/book.curl.php
    'curl'=>[],
]);

proxy and curl  
these two parameters can be set to turn off SSL, and you need to check the documentation for details

zhouaini528 avatar Oct 30 '24 02:10 zhouaini528