From b577bcfb338f6cb27118c110006302afceb44718 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Thu, 14 Jan 2021 09:21:35 +0100 Subject: [PATCH] buildah-1.19.0-2.el9 - fix gating test issue with openssl cert - Related: #1914884 Signed-off-by: Jindrich Novy --- buildah.spec | 6 +++++- tests/test_buildah.sh | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/buildah.spec b/buildah.spec index 46f15f1..62f06eb 100644 --- a/buildah.spec +++ b/buildah.spec @@ -19,7 +19,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl Name: buildah Version: 1.19.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A command line tool used for creating OCI Images License: ASL 2.0 URL: https://%{name}.io @@ -124,6 +124,10 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install %{_datadir}/%{name}/test %changelog +* Thu Jan 14 2021 Jindrich Novy - 1.19.0-2 +- fix gating test issue with openssl cert +- Related: #1914884 + * Tue Jan 12 2021 Jindrich Novy - 1.19.0-1 - update to https://github.com/containers/buildah/releases/tag/v1.19.0 diff --git a/tests/test_buildah.sh b/tests/test_buildah.sh index 26e83ac..410fdcd 100755 --- a/tests/test_buildah.sh +++ b/tests/test_buildah.sh @@ -24,7 +24,8 @@ start_registry() { openssl req -newkey rsa:4096 -nodes -sha256 \ -keyout $AUTHDIR/domain.key -x509 -days 2 \ -out $AUTHDIR/domain.crt \ - -subj "/C=US/ST=Foo/L=Bar/O=Red Hat, Inc./CN=localhost" + -subj "/C=US/ST=Foo/L=Bar/O=Red Hat, Inc./CN=registry host certificate" \ + -addext subjectAltName=DNS:localhost fi if [ ! -e $AUTHDIR/htpasswd ]; then