LoginSignup
29
27

More than 5 years have passed since last update.

久々にログインしたサーバでyumしたらepel接続でsslエラーが出たので対応

Posted at

久々にログインしたテスト用のcentosでyumしたところ、epelリポジトリへのsslコネクションが失敗している様子。。

$ sudo yum install java-1.8*
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was
14: problem making ssl connection
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=x86_64 error was
14: problem making ssl connection
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=x86_64 error was
14: problem making ssl connection

ネットワーク・セキュリティサービス(nss)をアップデートする必要があるらしい

※epelをdisableにして使うときだけ指定すればいいという話ではあるが。。

$ sudo yum install -y nss

これでエラー解消。

簡単ですが、結構はまった。。

29
27
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
29
27