Skip to content

ShariqT/sslchecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSL DateChecker

The purpose of this library is to get the status of SSL certificates -- mainly to make sure that the certificate is still valid.

Usage

import ssldatechecker

checker = ssldatechecker.get("google.com")
checker.check_certificate()

print(checker.certificate_info)
# <Certificate(subject=<Name(CN=*.google.com)>, ...)>

print(checker.is_date_expired())
# False

print(checker.days_until_expiry())
# 80

checker.certificate_info is an instance of the x.509 Certificate Class and will have the full certificate information.

About

A small python library to check the expiration date of an SSL certificate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages