CLI to check tls cert information and determine validity
Project description
checkcert
This utility was based off of this gist.
checkcert has the logic of that gist wrapped in a click-based CLI and added command-line options (checkcert --help to see them)
Full documentation is available at https://checkcert.readthedocs.io
Installation
from PyPi
pip install checkert
Usage
When you run pip install checkcert
, you will get a checkcert
command. To
show all the options, simply run checkcert --help
to get the most-current list
of commands and options.
Basic Usage
The basic usage is checkcert example.com
Check cert with an alternate port
Anywhere you specify the host, you may use the format host:port
to specify an
alternate port. If no port is specified, 443 will be used. To check something
running on port 8081 for example, execute checkcert example.com:8081
Multiple domains
checkcert will take all domains specified on the command line. Multiple values
may be specified as checkcert example.com www.example.com alt.example.com:444
Domain list from a file
checkcert can be instructed to pull the list of domains from a file instead with the --filename option. The file contents will just be a domain per line (specified in host:port format, or just host to default to port 443)
create a file named domains.txt with contents like the following
example.com
www.example.com
alt.example.com:444
Then execute checkcert --filename domains.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for checkcert-0.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ebee89c53ccba58c09e3b5edbe582fa549af9c8abd63d3f80235a1c980dfdb |
|
MD5 | b97ef123eadc2cef2d8b0ff3e4f8ae33 |
|
BLAKE2b-256 | 5043b8a26afadf71d8a5f65e27abcafc8405896059ab129b98282454b7b8e0b3 |