Skip to content

Short script for checking TLS certificates validity

Notifications You must be signed in to change notification settings

cryptrz/tlsChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

Description

tlschecker.sh verfies the validity of the TLS certificate for a given domain name or IP address.

Requirements

For using tlschecker.sh, you need to install nmap: https://nmap.org/download

Usage

# First usage only
chmod +x tlschecker.sh

# Then:
sudo ./tlschecker.sh example.com
sudo ./tlschecker.sh 1.1.1.1

The result will tell you if the certificate is valid for at least one more month or you need to update now. The same result will be saved in a text file in /root/TLS_Reports/

sudo ./tlschecker.sh mozilla.org
Getting the information for mozilla.org, please be patient...
Everything is fine, the TLS certificate for mozilla.org is valid until:  2025-04-12

sudo ./tlschecker.sh fb.com
Getting the information for fb.com, please be patient...
Update NOW the TLS certificate for fb.com!

About

Short script for checking TLS certificates validity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages