From 00c76a23315ece8ee28590bbc0f063f5f38a1be3 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Wed, 7 Jan 2015 23:18:28 +0800 Subject: [PATCH] LWP needs the ca-debian workaround too --- dsa-nagios-checks/checks/dsa-check-mirrorsync | 2 ++ 1 file changed, 2 insertions(+) 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'}; -- 2.20.1