Skip to content

chronohq/certinspect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CertInspect

go workflow go reference mit license

WIP - This project is in early development.

CertInspect is a Go package for inspecting TLS certificates from remote endpoints, built entirely with Go's standard library for zero external dependencies. The package includes certi, a command-line tool that serves as both a practical utility and reference implementation.

Features

  • Programmatic certificate chain inspection API
  • CLI tool included for manual certificate chain inspection
  • Certificate expiration time tracking
  • Subject Alternative Name (SAN) parsing
  • IPv6 address support
  • Zero external dependencies

Command-line Tool

The package includes certi, a command-line tool for inspecting certificate chains.

Installation

macOS

brew install chronohq/tap/certi

For other platforms, see the latest binary release.

Basic Usage

Inspect a certificate on the default HTTPS port (443):

certi www.chronohq.com
{
  ...
  "chain": [
    ...
  ]
}

Inspect a certificate on a custom port:

certi www.chronohq.com:3000
{
  ...
  "chain": [
    ...
  ]
}

Design Philosophy

CertInspect is a single-purpose component designed for certificate inspection and analysis. At Chrono, we use it as part of our larger monitoring infrastructure.

The package uses only Go's standard library to ensure zero external dependencies, maximum compatibility, and reduced supply chain risk. This is particularly important for a component handling TLS certificate data.

License

CertInspect is available under the MIT license. See the LICENSE file for details.

About

Inspect TLS certificates from remote endpoints in Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published