From f4b31b6ed97313f5abdcd368f3be7f11970916ed Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Sun, 14 Jun 2015 19:37:23 +0800 Subject: [PATCH] Use PERL_LWP_SSL_CA_PATH not HTTPS_CA_DIR as the latter has issues. The issues include #746579 (now fixed) and #788698. Thanks-to: jwilk on #debian-qa --- dsa-nagios-checks/checks/dsa-check-mirrorsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsa-nagios-checks/checks/dsa-check-mirrorsync b/dsa-nagios-checks/checks/dsa-check-mirrorsync index f3bf783..2e8100f 100755 --- a/dsa-nagios-checks/checks/dsa-check-mirrorsync +++ b/dsa-nagios-checks/checks/dsa-check-mirrorsync @@ -54,7 +54,7 @@ sub usage($$) { # Work around LWP not being able to verify service certs directly my $ca_dir = '/etc/ssl/ca-debian'; -$ENV{'HTTPS_CA_DIR'} = $ca_dir if -d $ca_dir; +$ENV{'PERL_LWP_SSL_CA_PATH'} = $ca_dir if -d $ca_dir; $ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin'; delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; -- 2.20.1