[Pkg-nagios-devel] Bug#976218: file breaks nagios-plugins-contrib autopkgtest: SSL_CERT UNKNOWN www.debian.org: Unable to fetch a valid certificate issuer certificate.

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Tue Dec 1 19:44:25 GMT 2020


Paul Gevers wrote...

> With a recent upload of file the autopkgtest of nagios-plugins-contrib
> fails in testing when that autopkgtest is run with the binary packages
> of file from unstable. It passes when run with only packages from
> testing. In tabular form:

> autopkgtest [14:13:17]: test command7:
> /usr/lib/nagios/plugins/check_ssl_cert -H www.debian.org
> autopkgtest [14:13:17]: test command7: [-----------------------
> SSL_CERT UNKNOWN www.debian.org: Unable to fetch a valid certificate
> issuer certificate.
> autopkgtest [14:13:18]: test command7: -----------------------]

Okay, that error message was a bit misleading.

Full story: The test downloads the certificate from

    http://cert.int-x3.letsencrypt.org/

and runs file(1) on the result. And either something of "ASCII",
"PEM", or plain "data".

The file(1) program however now¹ outputs "Certificate, Version=3", and
the check cannot handle that.

While I could revert that change in file(1) I guess it's way better to
adjust nagios-plugins-contrib instead.

    Christoph

¹ https://github.com/file/file/commit/FILE5_38-41-g1956e3ad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-devel/attachments/20201201/1398e74e/attachment.sig>


More information about the Pkg-nagios-devel mailing list