SSL:Get Domain for SSL Cert - lbonanomi/notes GitHub Wiki
What domain is this certificate for?
You didn't label the certificate correctly?
ls *.pem | while read pemfile;
do
printf "$pemfile\t$(openssl x509 -in "$pemfile" -text | awk -F"=" '/Subject:/ { print $NF }')\n";
done