Metadata-Version: 2.1
Name: certpeek
Version: 2022.10.27
Summary: Peeks at certificates exposed by other hosts.
Project-URL: Homepage, https://github.com/magnuswatn/certpeek
Author-email: Magnus Watn <magnus@watn.no>
License: MIT License
        
        Copyright (c) Magnus Watn
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.7
Requires-Dist: click
Requires-Dist: cryptography
Requires-Dist: pyopenssl
Description-Content-Type: text/markdown

# certpeek


Certpeek peeks at the certificates exposed by SSL/TLS enabled hosts. Perfect for a quick look for debugging.

And, it support tunneling through a HTTP proxy!

<p align="center"><img width="707" alt="Certpeek in action" src="https://github.com/magnuswatn/certpeek/blob/main/certpeek.png?raw=true"></p>

Usage:
```
Usage: certpeek [OPTIONS] HOST

  Peeks at certificates exposed by other hosts.

Options:
  --version          Show the version and exit.
  --proxy TEXT       Proxy to use.
  --servername TEXT  Custom SNI name to send in handshake.
  --no-servername    Do not send SNI in the handshake.
  --print-pem        Print certs in PEM format.
  --first-only       Only process the first retrieved cert.
  --openssl-format   Print cert info like OpenSSL.
  -h, --help         Show this message and exit.
```

Install with pip:

```
pip install certpeek
```

or with pipx:
```
pipx install certpeek
```
