in reply to daniel:// stenberg://

We can search for this snippet on GitHub: github.com/search?q=%2FsetOpt%…

And there are many more (162k) if just searching for CURLOPT_SSL_VERIFYPEER, but they might not come from the incorrect documentation in php-mod, and I'm not sure how many of them are actually safe.

in reply to ouuan

@ouuan that's how I fell down this rabbit hole: mastodon.social/@bagder/113979…


lemme show you 140,000 (![url=https://onlycasino.legal/users/MostlyHarmless])[/url] places in code where certificate verification is switched off when using libcurl: github.com/search?q=CURLOPT_SS…

in reply to daniel:// stenberg://

yikes! I disabled it on a pet project recently, but there’s no way I’d do so in a professional setting. My colleagues wouldn’t pass it through code review either! Some big companies have very odd practices…

(Something is funky with my container and no amount of futzing with certificate files was resolving it. It’s to fetch my bin collection schedule so hardly mission or privacy critical! 😅)