A tool to download TLS certificates including intermediate and root CA certs
Project description
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:
- output file in base64 (pem) format (see example below)
-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
***
-----END CERTIFICATE-----
- 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 details)
Built Distribution
File details
Details for the file dumptls-0.5.4.tar.gz
.
File metadata
- Download URL: dumptls-0.5.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e9f985f1a4c023c80f4fe415a8459ed6209bc0074d93733d601b7a963469485 |
|
MD5 | 8c4b671265c4ed8f5d983378cfa75957 |
|
BLAKE2b-256 | f7c625dc8255d858a8671629e83cd8ef1e57c560523186292015ca9b6c7ffecb |
File details
Details for the file dumptls-0.5.4-py3-none-any.whl
.
File metadata
- Download URL: dumptls-0.5.4-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c574139112810307c2c1d2f97cfec51d88cc1fdf202669cdf0f20f1a94d59c13 |
|
MD5 | c76ca70e855cbae69346c4e8216142e4 |
|
BLAKE2b-256 | f6e7b2ede2a29b39663fd893c4d7990db37382a11a9ff47727eb16eddb1d23bd |