I needed to write a Bash script that will use Wget to download webpages from a secure website using HTTPS. In order to be able to use Wget for this purpose, one needs to have access to a version of Wget compiled with SSL support. You can determine if wget on a particular system was compiled with SSL support using the command
wget --help | grep HTTPS
.
Output on a system where wget has SSL support:
$ wget --help | grep HTTPS
HTTPS (SSL/TLS) options:
Output on a system where wget does not have SSL support:
$ wget --help | grep HTTPS
$