From: Paul Wise Date: Wed, 7 Jan 2015 15:18:28 +0000 (+0800) Subject: LWP needs the ca-debian workaround too X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=00c76a23315ece8ee28590bbc0f063f5f38a1be3;p=mirror%2Fdsa-nagios.git LWP needs the ca-debian workaround too --- diff --git a/dsa-nagios-checks/checks/dsa-check-mirrorsync b/dsa-nagios-checks/checks/dsa-check-mirrorsync index 88984c2..b869116 100755 --- a/dsa-nagios-checks/checks/dsa-check-mirrorsync +++ b/dsa-nagios-checks/checks/dsa-check-mirrorsync @@ -52,6 +52,8 @@ sub usage($$) { exit ($exit); }; +# Work around LWP not being able to verify service certs directly +$ENV{'HTTPS_CA_DIR'} = '/etc/ssl/ca-debian'; $ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin'; delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};