From b8ca322f711cffa70867ed2695ea654e8dfb2425 Mon Sep 17 00:00:00 2001 From: Sergey Kulanov Date: Tue, 9 Feb 2016 13:03:48 +0200 Subject: [PATCH] Disable yum verify SSL certificates/hosts at all Disable SSL certificates check since we can have self signed certs for yum repos Change-Id: I38067ec3cf4e86b0b2623d716059763308ae0c5b Closes-bug: #1541934 --- mirror/centos/yum_repos.mk | 1 + sandbox.mk | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/mirror/centos/yum_repos.mk b/mirror/centos/yum_repos.mk index f4bcd7cbc..21a095f59 100644 --- a/mirror/centos/yum_repos.mk +++ b/mirror/centos/yum_repos.mk @@ -34,6 +34,7 @@ plugins=1 pluginpath=$(BUILD_DIR)/mirror/centos/etc/yum-plugins pluginconfpath=$(BUILD_DIR)/mirror/centos/etc/yum/pluginconf.d reposdir=$(BUILD_DIR)/mirror/centos/etc/yum.repos.d +sslverify=False endef define yum_repo_official diff --git a/sandbox.mk b/sandbox.mk index ba0d84598..fe825ee60 100644 --- a/sandbox.mk +++ b/sandbox.mk @@ -24,11 +24,14 @@ name=Upstream mirror baseurl=$(SANDBOX_MIRROR_CENTOS_UPSTREAM)/os/$(CENTOS_ARCH)/ gpgcheck=0 priority=1 +sslverify=False + [upstream-updates] name=Upstream mirror baseurl=$(SANDBOX_MIRROR_CENTOS_UPSTREAM)/updates/$(CENTOS_ARCH)/ gpgcheck=0 priority=1 +sslverify=False endef define yum_epel_repo @@ -53,6 +56,7 @@ plugins=1 pluginpath=/etc/yum-plugins pluginconfpath=/etc/yum/pluginconf.d reposdir=/etc/yum.repos.d +sslverify=False endef define external_sandbox_yum_conf @@ -69,6 +73,7 @@ plugins=1 pluginpath=$(SANDBOX)/etc/yum-plugins pluginconfpath=$(SANDBOX)/etc/yum/pluginconf.d reposdir=$(SANDBOX)/etc/yum.repos.d +sslverify=False endef SANDBOX_PACKAGES:=bash yum