checkcert

package module
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

README

Checkcert

A small utility to check ssl cert expiration.

Example

checkcert -d www.google.com.br:443,example.com:443,manage.openshift.com:443:10.10.222.2 -t

Contributing

  • Fork the repo on GitHub
  • Clone the project to your own machine
  • Create a branch with your modifications git checkout -b fantastic-feature.
  • Then commit your changes git commit -m 'Implementation of new fantastic feature'
  • Make a push to your branch git push origin fantastic-feature.
  • Submit a Pull Request so that we can review your changes

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHost

func CheckHost(domain string, port int, host string, res chan<- HostResult)

CheckHost check cert

func ParseDomainPortHost

func ParseDomainPortHost(info string) (domain string, port int, host string)

ParseDomainPortHost parse domain:port:host

Types

type HostResult

type HostResult struct {
	Host        string
	ExpireDays  int
	Err         error
	Issuer      string
	TLSVersion  string
	ElapsedTime time.Duration
	DNSNames    []string
}

HostResult Results

func CheckHostsParallel

func CheckHostsParallel(hosts ...string) (res []HostResult)

CheckHostsParallel Return a slice of host results given some hosts

Directories

Path Synopsis
cmd
checkcert command

Jump to

Keyboard shortcuts

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