X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fservice;fp=scripts%2Fservice;h=77165f88bc7265efa83700cae1749164a47854ab;hb=359b5957472bf4e87d5f03f26f50c8a14516e6ff;hp=364a0ed955acd9519a2ea3175ddbc1c1021f5acd;hpb=b3edb144385ee1b0f951552df206f763c1b3bebc;p=debbugs.git diff --git a/scripts/service b/scripts/service index 364a0ed..77165f8 100755 --- a/scripts/service +++ b/scripts/service @@ -904,9 +904,12 @@ END sub sendlynxdocraw { my ($relpath,$description) = @_; $doc=''; - open(L,"lynx -nolist -dump $gCGIDomain/\Q$relpath\E 2>&1 |") || die "fork for lynx: $!"; + # work around DSA cert setup + $ENV{SSL_CERT_FILE}='/etc/ssl/ca-debian/ca-certificates.crt'; + open(L,"lynx -nolist -dump https://$gCGIDomain/\Q$relpath\E 2>&1 |") || die "fork for lynx: $!"; while() { $doc.=$_; } $!=0; close(L); + delete $ENV{SSL_CERT_FILE}; if ($? == 255 && $doc =~ m/^\n*lynx: Can\'t access start file/) { print {$transcript} "Information ($description) is not available -\n". "perhaps the $gBug does not exist or is not on the WWW yet.\n";