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 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/
wget ""
mv $HOME/.purple/certificates/x509/tls_peers/