Closed prikkprikkprikk closed 11 months ago
Probably related to #8
Hey it seems file_get_contents() leads to issues when using self signed certificates. Maybe you can find a working solution here: https://stackoverflow.com/questions/26148701/file-get-contents-ssl-operation-failed-with-code-1-failed-to-enable-crypto
Not sure if this is something we should fix at our level. Closing for now, we can always revisit this.
Bug description
On our (multisite) website, after upgrading to statamic-peak-browser-appearance 3.3.0, favicons won't generate on my local environment, as file_get_contents() in Generators/Favicons.php:43 doesn't work.
It works when switching https off (valet unsecure), but that's hardly unexpected.
Copying Laravel Valet's CA certificate to OpenSSL's certs folder also seems to have helped (copied it from
~/.config/valet/CA
into/opt/homebrew/etc/openssl@3/certs
) and it seems to save, although it ends with an error notification, but no logs instorage/logs/laravel.log
.How to reproduce
(Logs show result.)
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
Mac Sonoma 14.0 with Laravel Valet.