Is there a way to list all domains on an SAN/UCC SSL Certificate (ideally using command line on linux/os x)?
Clearly there must be some way to extract the data, since browsers can do it. Unfortunately, I can see the list but can't cut and paste it.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
openssl x509 -text < foo.crt should do the trick.
You can list the domains with this command (tested on linux):
cat cert.pem | openssl x509 -text | grep DNS