Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

openssl x509 -text < foo.crt should do the trick.

share|improve this answer
For posterity, this is the full command I used, since I was doing it for another server: openssl s_client -showcerts -connect | openssl x509 -text – Jordan Reiter Sep 10 '12 at 13:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.