gocaexpired

command module
v0.0.0-...-797309f Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

README

Go CA Expire?

gocaexpired is a simple tool to let you know about expired or soon to be expired certificates from your internal OpenSSL based (sub?) Certificate Authority.

Building

go build .

Usage

Just ensure to have a file called index.txt in your current working directory.

./gocaexpired
./gocaexpired -filename /path/to/file/name

Example

./gocaexpired -filename /etc/ssl/ca/conf/index
Expiry Date: 2022-01-03 CN: git.localnet SN: 819ACDDE2DCEFC8AC7336C4C39502386 CRITICAL: already expired
Expiry Date: 2024-01-03 CN: git.localnet SN: 819ACDDE2DCEFC8AC7336C4C39502387 CRITICAL: already expired
Expiry Date: 2024-10-13 CN: git.localnet SN: 819ACDDE2DCEFC8AC7336C4C39502388 WARNING: expires in < 30d
Expiry Date: 2024-12-05 CN: server.localnet SN: 53DA0418C31D721FC7EE43736780F013 INFO: expires in < 90d

Documentation

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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