A command-line tool for testing website SSL/TLS configurations. This tool checks various security parameters including TLS version support, SSL certificate validity, cipher suites, and more.
- TLS version support detection (TLS 1.0 ~ 1.3)
- SSL certificate validity check
- OCSP certificate status verification
- Cipher suite strength evaluation
- PFS (Perfect Forward Secrecy) support detection
- HSTS implementation check
- Automatic test report generation with clipboard copy
- Python 3.10 or higher
- Windows/Linux/macOS
- Clone this repository:
git clone [repository-url]
cd ssl-test- Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate # Linux/macOS
# or
.venv\Scripts\activate # Windows- Install dependencies:
Option 1 - Using requirements.txt:
pip install -r requirements.txtOption 2 - Using uv install:
uv add -r requirements.txtRun the Python script:
python main.pyAfter launching:
- Enter the website URL to test (defaults to www.google.com)
- View the test results
- Test report will be automatically copied to clipboard
- Press Enter to continue testing other websites
You can package the program into a single executable using PyInstaller:
# Install PyInstaller
pip install pyinstaller
# Package the program
pyinstaller main.specThe executable will be available in the dist directory after packaging.
The test report includes:
- TLS version support status
- SSL certificate validity period
- OCSP certificate status
- Cipher suite strength
- PFS support status
- HSTS implementation status
- Internet connection is required for testing
- Some websites may refuse connections due to security settings
- Test results are for reference only; professional assessment is recommended for security configurations
This project is licensed under the MIT License.