nixCraft 🐧 on Nostr: Want to check TLS/SSL certificate expiration date from #[0], macOS or UNIX command ...
Published at
2023-04-05 19:39:36Event JSON
{
"id": "1d33fb5f922a66b5bb7e207f59bcc945afa36163e435fb7f8eb29c6e1a0b4615",
"pubkey": "cc3790930722bfa73e28f9a2aa0832706884305cb80687e20927c7960db99185",
"created_at": 1680723576,
"kind": 1,
"tags": [
[
"p",
"fdf7ab3a33eb4c8333481dd04cfa960c2ebdee7116d2cdfc040528f6f6999674",
"wss://relay.mostr.pub"
],
[
"t",
"linux"
],
[
"mostr",
"https://mastodon.social/users/nixCraft/statuses/110147900313207009"
]
],
"content": "Want to check TLS/SSL certificate expiration date from #[0], macOS or UNIX command line? Try:\n\nDOM=\"your-www-domain-name-here\"\nPORT=\"443\"\necho | openssl s_client -servername \"$DOM\" -connect \"$DOM:$PORT\" | openssl x509 -noout -dates\n\nSee https://www.cyberciti.biz/faq/find-check-tls-ssl-certificate-expiry-date-from-linux-unix/ for more info.\n\nhttps://files.mastodon.social/media_attachments/files/110/147/900/031/180/264/original/76fdf565ed47832f.png",
"sig": "b9ce7d2ee875953bf86b6ccb200fe83edb620e134541bfe45fb5b045abb0ab971d23d15dd58ad62dfeb420bfb7d330f3fc45340af54576d9c6abd02b91db8e42"
}