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

cURL error 60: SSL certificate problem: self signed certificate in certificate chain

Open thanhuynh4166 opened this issue 3 years ago • 1 comments

" cURL error 60: SSL certificate problem: self signed certificate in certificate chain "

how to ssl disable on localhost?

thanhuynh4166 avatar Jun 05 '21 08:06 thanhuynh4166

You can customize the http client:

ref: https://github.com/guzzle/guzzle/blob/dc87640a8669b278af07f8af6d6147a0b148929c/src/Client.php#L225

new Client([
    'httpClient' => new HttpClient(['verify' => false]),
]);

minchao avatar Jun 05 '21 15:06 minchao