I got the following Error in android Studio 2.2.3 when I sync gradle.
Error:Cause: unable to find valid certification path to requested target
Like a noob!
I was getting a nightmare with this and forgot that i've recently installed a new AV (Kaspersky)
So another solution is: Disable your AV or add exclusions to your AV firewall or proxy
hope it helps to save some time.