Linux cli snippets

From DevOps Notebook
Revision as of 15:28, 5 April 2020 by MilosZ (talk | contribs) (Created page with "== Linux command line snippets == === Get website SSL certificate details using CLI === <pre> $ echo | openssl s_client -showcerts -servername sendfileto.net -connect sendfil...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Linux command line snippets

Get website SSL certificate details using CLI

$ echo | openssl s_client -showcerts -servername sendfileto.net -connect sendfileto.net:443 2>/dev/null | openssl x509 -inform pem -noout -text