Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

corbosman's avatar

certificate problems with Valet

I recently upgraded to OSX High Sierra, and also updated all my brew recipes. Ever since I get certificate errors in my Laravel Passport guzzle/curl:

"cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html"

I have no idea which action caused this problem unfortunately. I tried supplying php with an updated cacert.pem but that didnt seem to help. Anyone have an idea? This is currently preventing me from doing any development.

0 likes
7 replies
jkahgee's avatar

did you ever figure out this issue? I have the same problem.

wilburpowery's avatar

Have you tried to remove Valet and install it again? I had an issue also, fixed it for me.

corbosman's avatar

Was your issue that curl on a valet site trying to connect to ssl api on another valet site doesnt work?

1 like
corbosman's avatar

I resolved it by extending guzzle and allowing me to set the secure flag to false for development. But i didnt notice the fixes so I may try that instead.

yogithesymbian's avatar

i have similar issue for valet on wordpress when using demo import. anyone can help ? 2023 , i use macbook pro m1 with latest wordpress version.

Please or to participate in this conversation.