Estou tentando instalar o composer e fica dando o seguinte erro:
The Composer installer script was not successful [exit code 1].
OpenSSL failed with a 'certificate verify failed' error. This indicates a problem with the Certificate Authority file(s) on your system, which may be out of date.
Certificate location [from openssl.cafile ini setting]:
C:\xampp\apache\bin\cacert.pem
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Script Output:
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
Eu já tentei mudar o certificado no PHP.ini de
`openssl.cafile="C:\xampp\apache\bin\curl-ca-bundle.crt"`
para
openssl.cafile="C:\xampp\apache\bin\cacert.pem"
Tentei incluindo o PHP no path. Estou usando o Xampp.