tlsanalyzer

command module
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2025 License: GPL-3.0 Imports: 15 Imported by: 0

README

tlsanalyzer

OS - Linux OS - MacOS

tlsanalyzer It is a utility that takes inspiration from the original sslscan, with fewer features, but with the aim of being used in those work contexts where it is not permitted to install anything on your machines, or where you are not allowed access to the internet network.

This is early development version.

Roadmap:

  • Timeout flag
  • Print certificate chain
  • Certificate Expiration check
  • Save certificate chain on file
  • Fix ordered test (go range behaviour)
  • Check supported cipher
  • Add the minimum version to start the scan from
  • Improved performance (goroutines)
  • Export report in markdown
  • Project name change
  • Full build (shell)script

Building from source

If you want to build tlsanalyzer from source, please verify to have already installed go1.23.4 or higher.

Then run this command:

go build -v -ldflags="-X 'github.com/olelbis/tlsanalyzer/build.Version=$(cat VERSION)' -X 'github.com/olelbis/tlsanalyzer/build.BuildUser=Team tlsanalyzer' -X 'github.com/olelbis/tlsanalyzer/build.BuildTime=$(date)'" -o tlsanalyzer

How it works

Usage:

Usage: tlsanalyzer [--cert] [--checkcert] --host <host> [--port <portnumber>] [--timeout <sec>] [--output <file>] [--min-version 1.0|1.1|1.2|1.3]

Basic execution:

olelbis@mymachost tlsanalyzer % tlsanalyzer --host example.com                        

TLS Analisys for: [example.com:443]

🚫 TLS 1.0: unsupported

🚫 TLS 1.1: unsupported

✅ TLS 1.2: supported
   Cipher suite: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
   CN: *.example.com
   Issuer: DigiCert Global G3 TLS ECC SHA384 2020 CA1
   Valid: 2025-01-15T00:00:00Z - 2026-01-15T23:59:59Z
   DNS: [*.example.com example.com]
   Supported cipher suites:
     • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
     • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
     • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305

✅ TLS 1.3: supported
   Cipher suite: TLS_AES_256_GCM_SHA384
   CN: *.example.com
   Issuer: DigiCert Global G3 TLS ECC SHA384 2020 CA1
   Valid: 2025-01-15T00:00:00Z - 2026-01-15T23:59:59Z
   DNS: [*.example.com example.com]
   Supported cipher suites:
     • TLS_RSA_WITH_AES_128_CBC_SHA
     • TLS_RSA_WITH_AES_256_CBC_SHA
     • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
     • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
     • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305
     • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
     • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
     • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
     • TLS_AES_256_GCM_SHA384

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL