An open API service indexing awesome lists of open source software.

https://github.com/stavinski/certgrabber

Grabs x509 certificate(s) from a remote host
https://github.com/stavinski/certgrabber

cybersecurity cybertool pentest-tool pentesting x509

Last synced: 3 months ago
JSON representation

Grabs x509 certificate(s) from a remote host

Awesome Lists containing this project

README

        

# certgrabber

## Summary

Tool to grab x509 certificate(s) from a remote host. By default the certificates will be returned in PEM format but this can be overrwridden to use DER using the `--der` flag.

## Releases

Updated versions are automatically built and released, please see https://github.com/stavinski/certgrabber/releases.

## Usage

~~~
Usage: ./certgrabber [Options] host:port

Grabs x509 certificate(s) from a remote host, format will default to PEM.
v1.0.0 Mike Nicholls 2022

Options:
-h, --help show this help message and exit
-c, --chain include the chain
-d, --der write in DER format instead of PEM
-w, --wait wait timeout for connection in seconds
-o, --out output to file instead of stdout
~~~

## Examples

Wait 5 secs return cert in PEM:

`./certgrabber --wait 5 google.com:443`

Return cert in DER format and write to google.der:

`./certgrabber --der --out google.der google.com:443`

Return the full cert chain:

`./certgrabber --chain google.com:443`