mjahkoh Posted July 4, 2015 Share Posted July 4, 2015 OpenSSL Error messages1 week and still cant download composer.the error generated is Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.orgRequest to https://getcomposer.org/installer failed with errors: SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed. Failedto enable crypto. Failed to open stream: operation failedOS = Windows 7 using XAMPP.My php.ini hasopenssl.cafile=C:\xampp\php\openssl\cert.pemfrom the command line => $ php -r "print_r(openssl_get_cert_locations());" the reply isArray( [default_cert_file] => f:\repo\winlibs_openssl_vc11_x86/cert.pem [default_cert_file_env] => SSL_CERT_FILE [default_cert_dir] => f:\repo\winlibs_openssl_vc11_x86/certs [default_cert_dir_env] => SSL_CERT_DIR [default_private_dir] => f:\repo\winlibs_openssl_vc11_x86/private [default_default_cert_area] => f:\repo\winlibs_openssl_vc11_x86 [ini_cafile] => C:\xampp\cert.pem [ini_capath] =>) their isnt f: drive where do i go from here. Please help Link to comment https://forums.phpfreaks.com/topic/297167-openssl-certificate-errors-while-connecting-online/ Share on other sites More sharing options...
scootstah Posted July 4, 2015 Share Posted July 4, 2015 Re-install OpenSSL, and figure out where the cert.pem goes on Windows. On Linux it should be /usr/local/etc/openssl/cert.pem. Update openssl.cafile ini setting with the path. Link to comment https://forums.phpfreaks.com/topic/297167-openssl-certificate-errors-while-connecting-online/#findComment-1515559 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.