0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

composer installしたらOpenSSLのエラーが出た

Posted at

composer installしたら以下のエラーが出た

[Composer\Downloader\TransportException]                                                                                          
  The "https://packagist.jp/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:  
  error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group                                                   
  error:1408D010:SSL routines:SSL3_GET_KEY_EXCHANGE:EC lib                                                                          
  Failed to enable crypto                                                                                                           
  failed to open stream: operation failed

ググったらどうやらOpenSSLのバグっぽい。

解決方法としてはOpenSSLのアップデート

アップデート前

$ rpm -q openssl
openssl-1.0.1e-15.el6.x86_64

アップデート

$ sudo yum update openssl

アップデート後

$ rpm -q openssl
openssl-1.0.1e-57.el6.x86_64

問題なくcomposer installできました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?