Here's the solution:
1. Sets the date and clock windows to your current data, and try to login.
2. If the problem persists, go to Start menu / run and put
regsvr32 softpub.dll and agree.
Successively do the same with:
regsvr32 wintrust.dll
regsvr32 msxml3.dll
regsvr32 initpki.dll
3. Restart your PC
If still no go when you arrive try this one:
Open Internet Explorer, go to Tools / Internet Options / Connections / LAN Settings, and select the Automatically detect settings option.
In messenger go to Tools / Options / Connection / Advanced Settings and select only the TCP box.