Python support for SSL and HTTPS is not installed

I was getting “Python support for SSL and HTTPS is not installed” while trying to use Mercurial on Mac OS X 10.5 Leopard. I upgraded python to 2.5.2 sudo port upgrade python and mercurial too (1.2.1) sudo port -u upgrade mercurial But that didn’t fix it. I’m glad that I found the solution on Twitter Just do an sudo port install py25-socket-ssl

May 8, 2009

Certificate authentication not working with correos.es and Firefox 3.0?

Well, check that SSLv2 is enabled in Firefox’s about:config page first. It seems that http://correos.es hasn’t realized that SSLv2 is a bit unsecure and they still force you to use that one. So to enable SSLv2 follow this instructions. I did, and now I can login.

June 11, 2008

Inspecting Tomcat HTTPS connection with Wireshark

Wireshark allows you to inspect SSL connection as long as you have the corresponding private key of the server side. You can read the details here. But if you are using java and tomcat you’ll probably have the certificate and private key stored in a JKS keystore so how can you extract the key in the right format for WireShark? First of all, keytool doesn’t allow you to extract the private key from a keystore. So you need external help. I use the DumpPrivateKey.java which is a modified version on the DumpPrivateKey found in this forum post. ...

June 29, 2007