Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/genuinetools/certok
Command line tool to check the validity and expiration dates of SSL certificates.
https://github.com/genuinetools/certok
bot certificates cli ssl-certificate
Last synced: 30 days ago
JSON representation
Command line tool to check the validity and expiration dates of SSL certificates.
- Host: GitHub
- URL: https://github.com/genuinetools/certok
- Owner: genuinetools
- License: mit
- Created: 2016-10-03T04:20:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T20:05:07.000Z (about 4 years ago)
- Last Synced: 2024-11-05T22:41:22.330Z (about 1 month ago)
- Topics: bot, certificates, cli, ssl-certificate
- Language: Go
- Size: 2.89 MB
- Stars: 159
- Watchers: 7
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - genuinetools/certok - Command line tool to check the validity and expiration dates of SSL certificates. (Go)
README
# certok
[![make-all](https://github.com/genuinetools/certok/workflows/make%20all/badge.svg)](https://github.com/genuinetools/certok/actions?query=workflow%3A%22make+all%22)
[![make-image](https://github.com/genuinetools/certok/workflows/make%20image/badge.svg)](https://github.com/genuinetools/certok/actions?query=workflow%3A%22make+image%22)
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/genuinetools/certok)
[![Github All Releases](https://img.shields.io/github/downloads/genuinetools/certok/total.svg?style=for-the-badge)](https://github.com/genuinetools/certok/releases)Command line tool to check the validity and expiration dates of SSL certificates.
**Table of Contents**
- [Installation](#installation)
- [Binaries](#binaries)
- [Via Go](#via-go)
- [Usage](#usage)## Installation
#### Binaries
For installation instructions from binaries please visit the [Releases Page](https://github.com/genuinetools/certok/releases).
#### Via Go
```console
$ go get github.com/genuinetools/certok
```## Usage
Pass a line deliminated file filled with hostnames to either stdin or the first
argument of the command. For example:```console
$ certok ~/hostsfile
NAME SUBJECT ISSUER ALGO EXPIRES SUNSET DATE
telize.j3ss.co:443 telize.j3ss.co Let's Encrypt Authority X3 SHA256-RSA 77 days
r.j3ss.co:443 r.j3ss.co Let's Encrypt Authority X3 SHA256-RSA 77 days
contained.af:443 contained.af Let's Encrypt Authority X3 SHA256-RSA 77 days
``````console
$ certok -h
certok - A tool to check the validity and expiration dates of SSL certificates.Usage: certok
Flags:
-all Show entire certificate chain, not just the first. (default: false)
-d enable debug logging (default: false)
-days Warn if the certificate will expire within this many days. (default: 0)
-months Warn if the certificate will expire within this many months. (default: 0)
-years Warn if the certificate will expire within this many years. (default: 0)Commands:
version Show the version information.
```