Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on development #30

Open
reactmore opened this issue Oct 26, 2024 · 1 comment
Open

Running on development #30

reactmore opened this issue Oct 26, 2024 · 1 comment

Comments

@reactmore
Copy link

reactmore commented Oct 26, 2024

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

@zhouaini528
Copy link
Owner

$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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@zhouaini528 @reactmore and others