genesisweb / valet-linux-plus

Advanced local development experience for Linux.
MIT License
130 stars 22 forks source link

CURL ssl support #124

Open MordiSacks opened 2 months ago

MordiSacks commented 2 months ago

Currently when making a call via curl (Laravel HTTP client) to a valet secured site I get an exception

cURL error 60: SSL certificate problem: self-signed certificate 
(see https://curl.haxx.se/libcurl/c/libcurl-errors.html) 
for https://example.test/.....

Would it be possible to add secured site certs to the php curl? Maybe via ini curl.cainfo?

uttamrabadiya commented 2 months ago

@MordiSacks Yes, it is interesting one, I will looking into it if we can handle it on php's configuration side,