Fix SSL tests on Centos Stream 9

SHA1 signatures are only allowed in the legacy policy. I have no idea
where this is documented - I found it in a patch for the OpenSSL source
package.

Also adding tar as a specific dependency, since we have a test that
requires it, and at least for me it was not present in a minimal
installation.

Fixes #2115
This commit is contained in:
Johanna Amann 2022-05-19 14:57:23 +01:00
parent 1223386fd3
commit 4d66e4e16c

View file

@ -31,6 +31,10 @@ RUN dnf -y --nobest install \
swig \ swig \
which \ which \
zlib-devel \ zlib-devel \
tar \
&& dnf clean all && rm -rf /var/cache/dnf && dnf clean all && rm -rf /var/cache/dnf
# Set the crypto policy to allow SHA-1 certificates - which we have in our tests
RUN dnf -y --nobest install crypto-policies-scripts && update-crypto-policies --set LEGACY
RUN pip3 install junit2html RUN pip3 install junit2html