PHP Classes
elePHPant
Icontem

PHP SSL Certificate Check: Check SSL certificates validity for given domains

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-11-11 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 192 This week: 14All time: 8,226 This week: 24Up
Version License PHP version Categories
certchecker 1.0.0GNU General Publi...5Networking, PHP 5, Validation
Description Author

This class can check SSL certificates validity for given domains.

It reads a file named domains.txt to retrieve a list of domains to be checked.

The class attempts to connect to each domain using SSL so it can verify if it is possible to connect to that domain and retrieve the details of the SSL certificate.

If a domain is validity cannot be verified or it will expires in less than 30 days, the class will send a notification by email to addresses defined in a separate configuration file using a SMTP server also defined in that file.

Innovation Award
PHP Programming Innovation award nominee
November 2018
Nominee
Vote
SSL is a well known protocol for implementing secure connections over the Web. It requires the installation of SSL certificates that will eventually expire.

This class can validate a set of SSL certificates for a list of given, domains, it it helps site administrators to not forget to renew those certificates before thy expire by sending email notifications ahead of time.

Manuel Lemos
  Performance   Level  
Name: Istvan Dobrentei <contact>
Classes: 10 packages by
Country: Hungary Hungary
Age: 41
All time rank: 175015 in Hungary Hungary
Week rank: 1 Up
Innovation award
Innovation award
Nominee: 7x

Details

The CertChecker class helps to detect a domain SSL certification expiration. It sends a notification emails when checking failed or need a cert update.

Usage:

  • Put the domain names into the domain.txt (every line should containt one domain name).
  • Install dependencies running compose comand.
  • Setup the config.ini file.
  • Setup a cron job and run the cron_script.php (for example: every day, or every week at once)
  Files folder image Files  
File Role Description
Files folder imagelib (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file config.ini Data Auxiliary data
Accessible without login Plain text file cron_script.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  lib  
File Role Description
  Plain text file CertChecker.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:192
This week:14
All time:8,226
This week:24Up