https://github.com/dougwaldron/https-tester
A tool for checking HTTPS and HSTS settings for websites
https://github.com/dougwaldron/https-tester
hsts https
Last synced: 7 months ago
JSON representation
A tool for checking HTTPS and HSTS settings for websites
- Host: GitHub
- URL: https://github.com/dougwaldron/https-tester
- Owner: dougwaldron
- License: mit
- Created: 2021-03-11T16:49:16.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-02T16:23:18.000Z (about 4 years ago)
- Last Synced: 2025-08-30T22:23:27.245Z (7 months ago)
- Topics: hsts, https
- Language: C#
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTPS & HSTS Settings Tester
A tool for verifying HTTPS and HSTS settings for websites.
For each website, this app tests and displays whether an HTTP website correctly redirects to HTTPS. A valid redirect will return a 301 status code and a location header that starts with "https://" but is otherwise identical to the original location.
The app then tests whether an HSTS header is set, and if so, it displays the "max-age" value that is set.
## Setup
Add the websites to test in `appsettings.json`. (Don't include "http://" or "https://".)
To run, execute `dotnet run` at the command line.