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
- Host: GitHub
- URL: https://github.com/stavinski/certgrabber
- Owner: stavinski
- Created: 2022-10-19T12:20:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T13:55:41.000Z (over 1 year ago)
- Last Synced: 2024-06-20T09:11:40.694Z (12 months ago)
- Topics: cybersecurity, cybertool, pentest-tool, pentesting, x509
- Language: Go
- Homepage:
- Size: 3.88 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:portGrabs x509 certificate(s) from a remote host, format will default to PEM.
v1.0.0 Mike Nicholls 2022Options:
-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`