Skip to main content

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


Download files

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

Source Distribution

checkcert-0.7.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

checkcert-0.7.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file checkcert-0.7.2.tar.gz.

File metadata

  • Download URL: checkcert-0.7.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.14.13-200.fc34.x86_64

File hashes

Hashes for checkcert-0.7.2.tar.gz
Algorithm Hash digest
SHA256 cdcc17c3f370b61658826e5dcca5eb20529299cbd7b215566ea57921c22406b8
MD5 82310c7ee1a0067004e5b21ef415de89
BLAKE2b-256 e9c9ee1e3cbb315c683a6bd5a4e578dcdb663f09dd0a30d2cc5f4f0b59421706

See more details on using hashes here.

File details

Details for the file checkcert-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: checkcert-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.14.13-200.fc34.x86_64

File hashes

Hashes for checkcert-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a49e10b392ad87c335663ae39c79d777da7754032ac8fcbd59825385bbb916f7
MD5 fef7c918723684eda0b2373b73fb83de
BLAKE2b-256 0b4552a53098a188c952566850b942b977807dd160d1ed037a72cbef09d56313

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page