I'm checking connections that traffic data in plain text, example: **http://**site.com but I'd like to check with some script. Does anyone know any scripts or how I can use openssl to find out if a website has a secure connection? I don't want to use a browser to know if the script has https or not I tried with testssl, but they don't show this information.

  • You could use curl, nmap, wget, opennssl s_client...
    – ThoriumBR
    Jun 20 at 13:49
  • Yes. I can use command curl, nmao and openssl s_clent. Jun 20 at 15:15
  • ThoriumBR, you can help me? Jun 25 at 23:23
  • curl -sk https://example.com > /dev/null && echo Site acessible via HTTPS || echo Site not accessible via HTTPS
    – ThoriumBR
    Jun 26 at 2:47
  • Thanks very much. It's work. :D Jun 29 at 15:53


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.