Fast and powerful SSL/TLS scanning library.
Maintained. Last release 8 months ago, commits in 10 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install sslyzeSSLyze
SSLyze is a fast and powerful SSL/TLS scanning tool and Python library.
SSLyze can analyze the SSL/TLS configuration of a server by connecting to it, in order to ensure that it uses strong encryption settings (certificate, cipher suites, elliptic curves, etc.), and that it is not vulnerable to known TLS attacks (Heartbleed, ROBOT, OpenSSL CCS injection, etc.).
Key features
- Focus on speed and reliability: SSLyze is a battle-tested tool that is used to reliably scan hundreds of thousands of servers every day.
- Easy to operationalize: SSLyze can be directly run from CI/CD, in order to continuously check a server against Mozilla's recommended TLS configurations.
- Fully documented Python API to run scans directly from any Python application, such as a function deployed to AWS Lambda.
- Support for scanning non-HTTP servers including SMTP, XMPP, LDAP, POP, IMAP, RDP, Postgres and FTP servers.
- Results of a scan can easily be saved to a JSON file for later processing.
- And much more!
Quick start
On Windows, Linux (x86 or x64) and macOS, SSLyze can be installed directly via pip:
$ pip install --upgrade pip setuptools wheel
$ pip install --upgrade sslyze
$ python -m sslyze www.yahoo.com www.google.com "[2607:f8b0:400a:807::2004]:443"
It can also be used via Docker:
$ docker run --rm -it nablac0d3/sslyze:6.1.0 www.google.com
Lastly, a pre-compiled Windows executable can be downloaded from the Releases page.
Python API Documentation
A sample script describing how to use the SSLyze's Python API is available at ./api_sample.py.
Full documentation for SSLyze's Python API is .