I cant login to minecraft


New user
When i try to login it always says : "Sorry but we couldnt connect to our servers.Please make sure you are online and your minecraft isnt blocked

(CerfiticateExeption: No name matching authserver.mojang.com found)

but im online so i dont know what i should do pls help as fast as you can :/