I think I've encountered a bug of some sort. On a fresh install of my workstation I'm getting this SSL error after installing openssl-osx-ca:
$ php -r 'echo file_get_contents("https://repo.packagist.org/packages.json");'
PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in Command line code on line 1
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in Command line code on line 1
PHP Warning: file_get_contents(): Failed to enable crypto in Command line code on line 1
Warning: file_get_contents(): Failed to enable crypto in Command line code on line 1
PHP Warning: file_get_contents(https://repo.packagist.org/packages.json): failed to open stream: operation failed in Command line code on line 1
Warning: file_get_contents(https://repo.packagist.org/packages.json): failed to open stream: operation failed in Command line code on line 1
But as soon as I re-enable openssl-osx-ca, the issue re-emerges.
On top of that, brew services list shows the openssl-osx-ca service as started, but with a yellow color. Apparently this actually means that the status is unknown, but I couldn't find any logs to investigate further.
I think I've encountered a bug of some sort. On a fresh install of my workstation I'm getting this SSL error after installing
openssl-osx-ca
:If I do the following:
Then suddenly the issue dissapears:
But as soon as I re-enable
openssl-osx-ca
, the issue re-emerges.On top of that,
brew services list
shows theopenssl-osx-ca
service asstarted
, but with a yellow color. Apparently this actually means that the status is unknown, but I couldn't find any logs to investigate further.Any ideas how I might resolve this issue?