Thank you!For people that want a quick fix here it is:
Bash:sudo nano /etc/hosts Add this to the end of the file: 127.0.0.1 ocsp.apple.com
That will block the faulty server and make your Mac as fast as before.
This solved my slow Mac but it still can not upgrade, will I be able to upgrade having that line in /etc/hosts ?