Skip to content
NiklasKoehlerPublic

About

How long a certificate has left, in one binary

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

sslwatch

Tells you how long a certificate has left. One binary, no dependencies, no agent on the server.

$ sslwatch example.com portal.example.com:8443
example.com                               67 days  2026-04-24  R11
portal.example.com:8443                   12 days  2026-02-28  R11

Install

go install github.com/NiklasKoehler/sslwatch@latest

Cron

-q prints nothing while everything is fine, so cron only mails you when something needs doing:

0 8 * * 1 sslwatch -q -days 21 example.com portal.example.com

Exit codes: 0 fine, 1 something is expiring, 2 something could not be checked.

About

How long a certificate has left, in one binary

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages