LoginSignup
6
4

More than 5 years have passed since last update.

yumのレポジトリが httpsかつ証明書が不正な場合の無理やり許可する。

Posted at

レアケースですが。。
sslverify=0 をつけることで、証明書のチェックをスキップする。

#cat example.repo

 [exampl]
 name=CentOS-$releasever - additional
 baseurl=https://yumrepo.example.com/centos/6/$basearch/
 enabled=1
 gpgcheck=0
 sslverify=0
6
4
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
6
4