🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

github.com/peteretelej/cert-checker

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/peteretelej/cert-checker

v1.0.6
Source
Go
Version published
Created
Source

Cert-Check

GitHub release (latest by date) MIT License Go Report Card

Cert-Checker is a simple and efficient Go application that helps you monitor SSL/TLS certificates for specified domains. It checks the validity of certificates at regular intervals and logs certificate failures. It also optionally supports logging to Papertrail.

Installation

Pre-Built Binaries

You can download the latest release from the releases page.

Building from Source

Alternatively, you can build the application from source:

git clone https://github.com/peteretelej/cert-checker.git
cd cert-checker
go build

# run app
./cert-checker -domain example.com -interval 1m

Usage

You can run the app using the following command-line options:

Usage of cert-check:
  -domain string
        domain to validate
  -domains string
        text file contain domains to validate, see sample (optional)
  -interval duration
        interval to validate domain (optional, default 30s) (default 30s)
  -papertrail string
        papertrail destination address logsN.papertrailapp.com:XXXXX (optional)

Example

./cert-check -domain example.com -interval 1m -papertrail papertrail.example.com:12345

This command will check the SSL/TLS certificates for example.com every minute and send the logs to the specified Papertrail destination (if provided).

Replace example.com with the domain you want to check, 30s with the desired check interval (e.g., 1m for one minute,1h etc), and (If you want to log to papertrail) papertrail.example.com:12345 with your Papertrail logging address and port.

Contributing

If you would like to contribute to the project, feel free to submit a pull request or open an issue on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details

FAQs

Package last updated on 21 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts