Can not login to MSN with pidgin on Ubuntu/Linux: Fixed

When I try to login to MSN/Live with Ubuntu the following error comes;
After digging online and trying different things I managed to get it working again.

The certificate for omega.contacts.msn.com could not be validated. The certificate chain presented is invalid.

Seems like the certificate for MSN has expired, so you need to add the new one.
To resolve this, open a new terminal (or Ctrl+Alt+t) and run the below commands respectively;


rm $HOME/.purple/certificates/x509/tls_peers/omega.contacts.msn.com
wget "http://files.andreineculau.com/projects/pidgin/omega.contacts.msn.com.txt"
mv omega.contacts.msn.com.txt $HOME/.purple/certificates/x509/tls_peers/omega.contacts.msn.com