Security and privacy warnings

When I sign in on my smartphone.  Sometimes it goes without a hitch.

At other times I get warnings about connection not being private.  Or security certificates not being valid.

Should I ignore these warnings?

Is someone trying to hack in for personal reasons?