Why Nostr? What is Njump?
2023-04-05 19:39:36

nixCraft 🐧 on Nostr: Want to check TLS/SSL certificate expiration date from #[0], macOS or UNIX command ...

Want to check TLS/SSL certificate expiration date from , macOS or UNIX command line? Try:

DOM="your-www-domain-name-here"
PORT="443"
echo | openssl s_client -servername "$DOM" -connect "$DOM:$PORT" | openssl x509 -noout -dates

See https://www.cyberciti.biz/faq/find-check-tls-ssl-certificate-expiry-date-from-linux-unix/ for more info.

Author Public Key
npub1esmepyc8y2l6w03glx325zpjwp5ggvzuhqrg0csfylrevrdejxzsnexjlr