# Show all certificates for cert in *_cert.pem; do echo "Certificate: $cert" openssl x509 -noout -subject -issuer -fingerprint -email -ext subjectAltName -in $cert echo "" done