ssl-tool

command module
v0.0.0-...-f7938b1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

ssl-tool

A CLI tool to inspect and retrieve SSL/TLS certificates.

ssl-tool screenshot

Installation

go install github.com/swisscom/ssl-tool@latest

Usage

ssl-tool [command] [-l log-level]

Commands:
  cert    Certificate operations
  client  Client operations

Flags:
  -l, --log-level string   log level (debug, info, warning, error) (default "warning")
  -v, --version            version for ssl-tool
  -h, --help               help for ssl-tool
ssl-tool client get-certificate <url>

Fetch and display the certificate chain from a live HTTPS endpoint.

ssl-tool client get-certificate https://expired.badssl.com
  • Displays the leaf certificate details (subject, issuer, DNS names, validity, key info)
  • Displays the full certificate chain with subject, issuer, and color-coded expiry
  • Shows a warning banner for invalid/untrusted certificates
  • Expiry dates are color-coded: green (valid), yellow (< 30 days), red (expired)
ssl-tool cert parse <certfile>

Parse and display a local PEM certificate file (single cert or chain).

ssl-tool cert parse cert.pem

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
⌂ 换网址