wget https://skype.com -O - > /dev/null
isn't good. I just want to create a short bash script to check that an HTTPS cert is valid or no. i think wget doesn't connects if the cert is invalid. i just need a parameter? to wget to only work on HTTPS! are there any?
wget
to connect only if a certificate is valid?