1 2 3 4 5 6 7
#!/bin/sh for cert in *.cert.pem; do echo $cert openssl x509 -noout -in $cert -dates echo done