IT Toolbox
Menu
HomeHow to test if a site responds to HTTPS
Guide

How to test if a site responds to HTTPS

Check that a web server responds to HTTPS and observe the returned HTTP code

TopicIT resources → About 1 min read

Check that a web server responds to HTTPS and observe the returned HTTP code.

Steps….

  1. Use Power Shell – Open Windows Terminal…
  2. Send a HEAD query — Use Invoke-Web (1992) with Head method.
  3. Read StatusCode — 200 usually indicates a successful response, but other codes may be normal depending on the site.
  4. Test for connectivity if necessary — Test port 443 with Test-Net-Grision.

Commands

Invoke-WebRequest https://boiteaoutilsinformatique.fr -Method Head
Test-NetConnection boiteaoutilsinformatique.fr -Port 443

Key takeaways

  • An open port 443 does not validate the certificate or the application operation alone.
  • The 301/302 can be normal.
Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI

My favorites