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.
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