#9 Don't use /etc/pki/tls/cert.pem
Opened 3 months ago by adamwill. Modified 3 months ago
adamwill/beakerlib-libraries httpd-library-bundle  into  master

file modified
+1 -1
@@ -150,7 +150,7 @@ 

  httpHTTPD=${httpHTTPD:-httpd}

  httpSSL_CRT=${httpSSL_CRT:-/etc/pki/tls/certs/localhost.crt}

  httpSSL_KEY=${httpSSL_KEY:-/etc/pki/tls/private/localhost.key}

- httpSSL_PEM=${httpSSL_PEM:-/etc/pki/tls/cert.pem}

+ httpSSL_PEM=${httpSSL_PEM:-/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem}

  httpSSL_O=${httpSSL_O:-`hostname`}

  httpSSL_CN=${httpSSL_CN:-`hostname`}

  httpLOGDIR=${httpLOGDIR:-/var/log/httpd}

/etc/pki/tls/cert.pem has been removed in Rawhide. See
https://fedoraproject.org/wiki/Changes/dropingOfCertPemFile (yes,
even though that's a pending Change, this already happened). This
causes tests of httpd to fail:

:: [ 12:50:27 ] :: [  ERROR   ] :: rlFileBackup: File /etc/pki/tls/cert.pem does not exist.
:: [ 12:50:27 ] :: [   FAIL   ] :: creating backup of /etc/pki/tls/cert.pem (Expected 0, got 8)

Fix this by using the preferred path for this bundle as produced
by update-ca-trust.

Signed-off-by: Adam Williamson awilliam@redhat.com

Metadata