Skip to content
Permalink
Browse files

Dont check https certificate

  • Loading branch information
david-cooke committed Oct 24, 2017
1 parent 8a22124 commit b906a41cd8fcb63870f0ca4aeb06b0d69dd7d478
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 --no-check-certificate \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
$output .= "wget -c --passive-ftp --no-check-certificate -P \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
}
elsif ( $_ =~ m#^(http|https)://# )
{
$output .= "wget -t 2 -T 10 -c -P --no-check-certificate \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
$output .= "wget -t 2 -T 10 -c --no-check-certificate -P \$(archivedir) " . $_ . "/" . $file . " || \\\n\t";
}
}
$output .= "wget -c -P --no-check-certificate \$(archivedir) http://www.i-have-a-dreambox.com/Archive/" . $file . " )";
$output .= "wget -c --no-check-certificate -P \$(archivedir) http://www.i-have-a-dreambox.com/Archive/" . $file . " )";
$output .= "\n\t\@touch \$\@";
$output .= "\n\n";
}

0 comments on commit b906a41

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