Skip to content

Instantly share code, notes, and snippets.

View hmeine's full-sized avatar

Hans Meine hmeine

  • Bremen, Germany
View GitHub Profile
@stonehippo
stonehippo / inspect_https-tls-ssl_certs.md
Last active September 12, 2025 10:04
A couple of ways to look at web server HTTPS/TLS/SSL certificate data via the command line

Inspecting HTTPS (TLS, SSL) certificates from the command line

I needed to inspect an HTTPS site's current certs and wanted to do it from the command line. Here are a couple of commands that I used that worked quite well.

With nmap

nmap -p 443 --script ssl-cert [hostname]