add certexpiry command

This commit is contained in:
Ben Harris 2019-06-24 23:49:28 -04:00
parent c90e9ea7b1
commit 331a8d5ed2
Signed by untrusted user: ben
GPG Key ID: 4E0AF802FFF7960C
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
function certexpiry
openssl s_client -connect $argv[1] 2>/dev/null | openssl x509 -noout -dates
end