Connect to a server using TLS 🔒 and get PEM-encoded server certificate 📜.
It's a pretty trivial tool, yet it rocks! 🎸
$ catchcert wikipedia.org
-----BEGIN CERTIFICATE-----
[...]
$ catchcert github.com > github.pem
# port is optional (defaults to 443)
$ catchcert dc.contoso.com 636 > contoso_dc.crt
catchcert is written in Go and runs on Windows, GNU/Linux and macOS.
You can download the latest pre-compiled binaries from the releases page.
$ git clone https://github.com/marcobellaccini/catchcert.git
$ cd catchcert
$ go build
I wrote this tool because:
- I needed it
- I know I can do the same with openssl but it is not so straightforward
- I decided to try Go programming language
- I wanted to try remote developement in a container with VS Code
Marco Bellaccini - creator, maintainer and cool guy