💾 Archived View for henn.es › cheatsheet › openssl.gmi captured on 2023-11-04 at 11:27:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-19)

-=-=-=-=-=-=-

hennes' openssl cheatsheet

Download cert chain

openssl s_client -showcerts -connect HOST:PORT </dev/null 2>/dev/null | sed -n -e '/-.BEGIN/,/-.END/ p'

Replace `HOST` with hostname or IP of server. Replace `PORT` accordingly (e. g. 1965 for gemini, 443 for web or 993 for mail). Append e.g. `> out.pem` to save as file.