Skip to content

SSL:Get Domain for SSL Cert

lbonanomi edited this page Mar 22, 2019 · 1 revision

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
Clone this wiki locally