安装 composer SSL operation failed with code 1
来源:互联网 发布:java 异或 php 编辑:程序博客网 时间:2024/05/23 14:23
root@yumh:> curl -sS https://getcomposer.org/installer | phpDownloading...Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failedfile_get_contents(): Failed to enable cryptofile_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation failedDownloading...Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failedfile_get_contents(): Failed to enable cryptofile_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation failedDownloading...Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failedfile_get_contents(): Failed to enable cryptofile_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation failedThe download failed repeatedly, aborting.
解决:
wget http://curl.haxx.se/ca/cacert.pem
curl -sS https://getcomposer.org/installer | php -- --cafile=cacert.pem
或者curl -sS http://getcomposer.org/installer | php -- --cafile=cacert.pem
0 0
- 安装 composer SSL operation failed with code 1
- 安装composer时Warning: readfile(): SSL operation failed with code 1. OpenSSL Error messages:
- 安装Composer PHP Warning: copy(): SSL operation failed with code 1.
- phpmailer发送邮件出现错误:stream_socket_enable_crypto(): SSL operation failed with code 1.
- linker command failed with exit code 1
- linker command failed with exit code 1
- linker command failed with exit code 1
- linker command failed with exit code 1
- linker command failed with exit code 1
- linker command failed with exit code 1
- linker command failed with exit code 1
- compile" failed with error code 1 解决办法
- linker command failed with exit code 1
- linker command failed with exit code 1
- windows下使用pip安装模块发生“failed with error code 1”的解决方法
- Qt Windows 安装问题RtlWerpReportException failed with status code :-1073741823
- ios错误汇总1:codesign failed with exit code 1
- error: linker command failed with exit code 1
- Event的三个阶段
- 手机控制开发板开灯
- 如何制作支持Legacy BIOS和UEFI BIOS两种模式启动的Windows PE
- lightoj Triangle Partitioning 1073 (简单数学几何判断相似)
- PL/SQL:ORA-00942
- 安装 composer SSL operation failed with code 1
- android 关于webview不显示的问题解决方案
- lightoj--1043--Triangle Partitioning(水题)
- 使用spring的@Async异步执行方法
- springMVC @ModelAttribute学习
- HDOJ 5533-Hidden String
- hdoj--5333--Dancing Stars on Me(水题)
- Repair Windows BCD
- 把“后悔”当作“玩笑”