Skip to content

Farsheed/CertCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Certificate Checker in Rust

This Rust application checks the expiration date of TLS certificates for given URLs. It reads URLs from a file, connects to each via TLS, and provides a color-coded output based on certificate validity.

CertCheck Screenshot

Features

  • Reads a list of URLs from a file (urls.txt).
  • Connects securely to retrieve certificate expiration dates.
  • Outputs results in a color-coded format:
    • 🟥 Red: Certificate expired.
    • 🟧 Orange: Expires within 24 hours.
    • 🟨 Yellow: Expires within one week.
    • 🟩 Green: Certificate valid.

Requirements

  • Rust & Cargo installed.
  • OpenSSL installed (brew install openssl on macOS if needed).

Installation & Setup

1. Clone project

git clone https://github.com/Farsheed/certcheck.git
cd certcheck

2. Add URLs to the urls.txt file

In the project root, add the URLs you want to check to urls.txt one URL per line. You can omit the protocol (https) from the URL.

5. Run the Project

cargo run

Notes

  • Ensure OpenSSL is properly linked if you encounter build issues.
  • This application assumes all timestamps are in UTC/GMT.

About

This Rust application checks the expiration date of TLS certificates for given URLs. It reads URLs from a file, connects to each via TLS, and provides a color-coded output based on certificate validity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages