github-api icon indicating copy to clipboard operation
github-api copied to clipboard

SSL certificate problem: unable to get local issuer certificate

Open wouterrutgers opened this issue 1 year ago • 1 comments

I'm encountering an issue on my Mac with the following error:

SSL certificate problem: unable to get local issuer certificate

I've traced the problem to this line in the code: https://github.com/milo/github-api/blob/master/src/Github/Http/CurlClient.php#L57.

When I remove this line, everything works fine. I think that the CA chain can be removed since it should be updated on all systems anyway.

On a Linux system everything is working fine!

Any advice or suggestions?

wouterrutgers avatar May 22 '24 10:05 wouterrutgers

Hi, thank you for report. I embed the CA chain for some reason... unfortunately I cant recall why and I agree that CA should be updated on all systems these days. I have to do some tests before removing it, I don't want to break someones code.

milo avatar Jul 15 '24 08:07 milo