Skip to main content

A tool to download TLS certificates including intermediate and root CA certs

Project description

release

dumptls

A tool to download TLS certificates including intermediate and root CA certs.

Installation

You can install the package using pip:

Usage

To use the tool, simply run:

dumptls www.google.com

You can also specify a port and a resolve IP address:

dumptls example.com --port 8443 --resolve-ip-address 192.168.1.1

Example output:

  1. output file in base64 (pem) format (see example below)
-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----
  1. stdout with following example output (common names for all TLS certificates and their serial numbers)
Certificates have been saved to cert_chain.pem
Common Name: www.google.com, Serial Number: 276676235549746405282904896944097780989
Common Name: GTS CA 1C3, Serial Number: 159612451717983579589660725350
Common Name: GTS Root R1, Serial Number: 159159747900478145820483398898491642637

Building and Installing the Package

Navigate to the directory containing setup.py and run the following command to build the package:

python setup.py sdist bdist_wheel

To install the package locally:

pip install .

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

dumptls-0.5.4.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

dumptls-0.5.4-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

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