Skip to main content

A Python utility for checking states of ssl certificates

Project description


check a state of your ssl certificates simply and cleverly

version Build Status Language grade: Python made-with-python Python 3.6 Open Source Love

This program checks the expiration date of an ssl certificate. First set the url param that should contain the url address of a domain. The program returns a message and a status code based on a measurement result.


# using pip
pip install sslexp

# or if you are running multiple versions of python such as 2.7.x and 3.x 
pip3 install sslexp

# from source using git clone
git clone

# from source using wget


Argument Description Required
--url URL of an ssl certificate for check yes
--warning Number of days for warning output no [default 30]
--critical Number of days for critical output no [default 20]
--version Show program version optional
-h --help Show program help and usage optional
Status Exit code


# check an ssl cert of github
sslexp --url

# check the cert with your own warning and critical params
sslexp --url --warning 5 --critical 3

# show program help
sslexp --help

# show program version
sslexp --version

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sslexp, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size sslexp-1.0.1-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page