Archived
16
0

Script for å liste utløpsdato til alle sertifikater i crt/

This commit is contained in:
2014-08-08 21:45:26 +00:00
parent ff453a1e40
commit 7ebf649652

6
ssl/crt-expiry-dates Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
## Lister opp utløpsdato for alle sertifikater i crt/
for x in crt/*.pem ; do echo -ne $x "\t"; date --iso --date "$(openssl x509 -text < $x|grep "Not After"|cut -d: -f2-)" ; done |sort -k 2