View SSL/TLS certificate in Safari 5+ when no padlock icon shown
Recent versions of Safari do not appear to display the lock icon or certificate unless all content loaded by the page is https. For example, if the page URL is https but it loads a JavaScript file via http, no lock icon.
The only workaround I've found so far is to run the openssl command in Terminal, like this:
echo ^d | openssl s_client -connect host.example.com:443
This will show you the certificate chain back to whatever root authority is used to sign, if any. "verify error" will show things like "self signed certificate".
If you request a single asset, such as an image on the site, over HTTPS then Safari will show you the padlock.
For example, choose an image on the page you are looking at, Ctrl-click/Right-click the image, choose to view that image in a new Tab. In the new tab the content you are viewing isn't mixed because it is a single element and Safari will show you the padlock.