So, I tried all morning to install the composer so that I can start using the larvel framework.
I am running a Windows r2 server, standard 64-bit, from XAMPP to php 7.0
When I run Composer-Setup.exe, I get the following message.
The file https://getcomposer.org/versions cannot be loaded: SSL operation error with code 1. OpenSSL error messages: Error: 14090086: SSL routines: ssl3_get_server_certificate: certificate Cryptographic verification failed Failed to open stream: operation failed
I looked through the network, and in most cases the problem that I seem to point to is the cacert.pem file.
So, I followed the instructions for downloading the certificate from https://curl.haxx.se/ca/cacert.pem
I just made a .txt file, copied the contents into it from the above link and renamed the file, so it was a cacert.pem file.
Then specify the .pem file inside php.ini
openssl.cafile = C: \ cacert.pem
Restore apache and then run setup.
After restarting, I get exactly the same error as the ssl operation with code 1.
Hope someone can see what I'm doing wrong here?
windows php ssl laravel composer-php
SK2017
source share