Revert "pass --no-check-certificate to wget"

This reverts commit 4167869874070d3aba1b6a8daadcd7ee6f96dbfc.

See discussion in #1796.