Firefox add-on detects man-in-the-middle attacks.
Just came across this yesterday:
About this Add-on
Perspectives is a new, decentralized approach to securely identifying Internet servers. It automatically builds a database of server identities using lightweight probing by "network notaries" - servers located at multiple vantage points across the Internet. Each time you connect to a secure website Perspectives compares the site's certificate with network notary data, and warns if there is a mismatch. This way you know if a certificate should be trusted! Using Perspectives prevents "man-in-the-middle" attacks, lets you use self-signed certificates, and helps you trust that your connections really are secure.
https://addons.mozilla.org/en-US/firefox/addon/perspectives/
About Us
The Perspective Project started as a research project in the Computer Science Department at Carnegie Mellon University, led by PhD student Dan Wendlandt and Professors Dave Anderson and Adrian Perrig. This research was funded by the National Science Foundation (NSF) and Carnegie Mellon CyLab.
http://perspectives-project.org/about-us/
Open source code for server and add-on.
The add-on works with firefox and thunderbird.
Only problem I've had so far is twitter uses multiple certificate authorities so you have to whitelist it.