You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nixos/apache-httpd: SSL requests fail in PHP because of missing certificates #10703
When using simple PHP in Apache, all SSL functions fail at certificate verification (e.g. file_get_contents("https://google.com") or stream_socket_client()). Looks like Apache does not find the system root certificates.
and the above doesn't fix it
i was able to fix it by copying php-recommended.ini from the php package and making the following change, then using services.phpfpm.phpIni = ./php-recommended.ini;
Activity
cleverca22 commentedon Nov 3, 2015
the same problem exists in services.phpfpm
and the above doesn't fix it
i was able to fix it by copying php-recommended.ini from the php package and making the following change, then using services.phpfpm.phpIni = ./php-recommended.ini;
but now i have to manually keep that version in-sync with php if any security/compat changes happen
zimbatm commentedon Mar 17, 2016
Is this still an issue ? #12748 should have fixed this. Please let me know if I'm mistaken.