macbook pro can’t connect to secure server

so, i’m wondering how to fix an issue on my early 2012 macbook pro where it isn’t allowing me to use certain updates, websites or download apps because it says my macbook needs to update however it doesn’t have any when i try to download the new update, whenever i try to go to a website it’ll say it can’t load the page because it can’t connect to the server, i’ve also not been able to access my icloud account either.

macbook pro can’t connect to secure server
 
 
Q