How to view certificate info without installing I have a certificate and/or private key file (pfx) on my OS X desktop.  I'd like to look at its information (CN, SAN, OU, thumbprint, etc) but when I double click on it, it attempts to install into my Keychain.  Once its in there, I can see the info and then delete it.

I would like to know if there is a way to "open" a certificate for viewing without having to install it into your Keychain.  Similar to how you can click on the padlock in Safari and see the cert info.

I'd prefer something native to OS X but maybe there are tools out there too?
I'm not sure if this was available in the OS you had at the time you wrote your question, but at least with OS X 10.11.6, if you select the .crt file in the Finder and press the spacebar, a Quick Look window will open and you can see all of that info in a nice display.  Works for .pfx files too.