Skip to content
Permalink
Browse files

Dont check https certificate

  • Loading branch information
david-cooke committed Oct 23, 2017
1 parent 2549d24 commit 8a22124049871e8a09686d103333fe721eae8ccb
Showing with 3 additions and 3 deletions.
  1. +3 −3 cdk/rules-archive.pl
@@ -21,14 +21,14 @@
{
if ( $_ =~ m#^ftp://# )
{
$output .= "wget -c --passive-ftp -P \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
$output .= "wget -c --passive-ftp -P --no-check-certificate \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
}
elsif ( $_ =~ m#^(http|https)://# )
{
$output .= "wget -t 2 -T 10 -c -P \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
$output .= "wget -t 2 -T 10 -c -P --no-check-certificate \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
}
}
$output .= "wget -c -P \$(archivedir) http://www.i-have-a-dreambox.com/Archive/" . $file . " )";
$output .= "wget -c -P --no-check-certificate \$(archivedir) http://www.i-have-a-dreambox.com/Archive/" . $file . " )";
$output .= "\n\t\@touch \$\@";
$output .= "\n\n";
}

0 comments on commit 8a22124

Please sign in to comment.
You can’t perform that action at this time.