Video failed to load

[Security Tool Vol. 2] testssl — Comprehensive SSL/TLS Security Testing

354 words
2 minutes
[Security Tool Vol. 2] testssl — Comprehensive SSL/TLS Security Testing
  1. 1[Security Tool Vol. 2] testssl — Comprehensive SSL/TLS Security TestingThis article
  2. 2[Security Tool Vol. 1] Kscan — High-Performance Golang Security Scanner
[Security Tool Vol. 2] testssl — Comprehensive SSL/TLS Security Testing

Translation Notice

This article was originally written in Chinese and translated into English with the assistance of AI. The translation has been reviewed and edited for clarity, accuracy, and readability. Please refer to the original source where necessary, especially for technical terms, commands, configuration details, and proper nouns.

If you have visited my homepage, you may know that I work in cybersecurity.
During recent vulnerability scans and hardening work, I found that many frequently occurring vulnerabilities are concentrated in SSL/TLS configuration, including weak cipher suites, outdated protocol versions, and incomplete certificate chains.

These issues are expensive to verify manually. After remediation, rechecking them often requires running the entire vulnerability-scanning process again, which is inefficient.
I therefore began using testssl.sh at work for fast, comprehensive, and repeatable checks of site SSL/TLS configurations.

About testssl#

testssl.sh is an open-source SSL/TLS security-testing tool for evaluating server configuration, including:

  • Supported SSL/TLS protocol versions
  • Cipher-suite security and strength
  • Common TLS vulnerabilities such as BEAST, POODLE, and Heartbleed
  • Certificate validity and chain completeness
  • Compliance with mainstream security best practices

The tool requires no deployment on the target server; run the script locally to perform checks. It is ideal for security testing, routine inspections, and remediation verification.

Common Commands#

1. Print SSL/TLS Compliance Results to the Console#

Use this for quick TLS configuration checks; results are printed directly to the terminal:

Terminal window
./testssl.sh -p bytesycn.cn

Compliance test results
Compliance test results

Parameter details:

  • -p: display the protocols and ports supported by the target
  • Check port 443 by default

In practice, generating an HTML report is recommended for archiving, comparing pre- and post-remediation changes, or submitting as security-audit material.

Terminal window
./testssl.sh --warnings=batch --html bytesycn.cn

Generate an HTML report
Generate an HTML report

Parameter details:

  • —warnings=batch: display warnings in batch mode to avoid interactive interruption
  • —html: generate a complete HTML test report

📄 Sample report: bytesycn.cn testssl report demo

Recommendations#

  • Run testssl before and after TLS remediation to compare the changes.
  • Combine it with SSL configuration changes in Nginx or Apache.
  • Run it regularly as part of routine security inspections or CI/CD pipelines.

Summary#

testssl.sh is a lightweight, professional, and practical SSL/TLS security-testing tool, especially suitable for:

  • Cybersecurity professionals
  • Operations and SRE engineers
  • Independent site owners who care about security

If you repeatedly encounter difficulties while remediating TLS vulnerabilities, consider adding testssl to your toolkit.


🔗 Related links:

[1] testssl Project Repository: https://github.com/testssl/testssl.sh

[2] testssl Official Website: https://testssl.sh

Support & Share

If this article helped you, please share or support!

Sponsor
[Security Tool Vol. 2] testssl — Comprehensive SSL/TLS Security Testing
https://blog.bytesycn.cn/posts/562206e0-38e7-4359-bb6d-faacf9b687de/
Author
Ryan Zhang
Published at
2025-12-15
Related PostsSmart
1
Offline Security Device Upgrade Guide: Download Links for Major Vendors (Continuously Updated)
KnowledgeSecurity devices in offline environments require manual updates, but vendor download links are scattered and difficult to find. This article collects offline upgrade links from major vendors for faster maintenance.
2
How to Conduct a Phishing Simulation
KnowledgeWith proper authorization, phishing simulations are an important way to assess an organization's security awareness and defenses. This article covers a disciplined, safe, and controlled 2025 simulation, from information gathering and attack-surface analysis to simulated-page assessment, platform selection, and data collection.
3
Disable Burp Suite’s Automatic DNS Log Detection
TutorialBurp Suite is a cross-platform web-application penetration-testing tool built on Java. When it starts, it automatically performs DNSLog detection, which may trigger alerts on security devices such as STAs.
4
[Security Tool Vol. 1] Kscan — High-Performance Golang Security Scanner
ToolsA practical quick-start guide to Kscan, covering installation, common commands, use cases, and precautions.
5
OpenSSH Security Upgrade Guide: Online and Offline Methods
TutorialOpenSSH is a core component for remote server access and administration. Its open-source nature sometimes exposes security vulnerabilities, but also drives continuous improvement. Upgrading is the most effective response, yet many Linux servers run in isolated environments and cannot update directly over the network. This guide explains how to securely upgrade OpenSSH by compiling and installing it offline.
Random PostsRandom

Comments

Profile Image of the Author
Ryan Zhang
Keep building, keep thinking, keep creating.
Announcement
Welcome to my blog!
Categories
Tags
Latest Moments
Site Statistics
Posts
30
Categories
7
Tags
42
Total Words
117,260
Running Days
0 days
Last Activity
0 days ago
Table of Contents