title: Android Studio / Intellij, Gradle Error:Cause: peer not authenticated
body: <p>Having a fight with IntelliJ at the moment. 
  The darn thing won't download Gradle 2.1 </p>
  
  <p>I have an Android project hosted on GitHub, which I have cloned to my laptop.
  I have got working SSL certificates, I know this as I can download SDK software from google using SSL, and I can also download Gradle 1.12.
  The message I have received from IntelliJ is the rather infamous <code>Error:Cause: peer not authenticated</code> error. </p>
  
  <p>From the terminal running IntelliJ I get this:</p>
  
  <pre><code>    * What went wrong:
  A problem occurred configuring root project 'SomeAndroidProject'.
  &gt; Could not resolve all dependencies for configuration ':classpath'.
     &gt; Could not resolve com.android.tools.build:gradle:0.13.0.
       Required by:
           :SomeAndroidProject:unspecified
        &gt; Could not HEAD 'https://jcenter.bintray.com/com/android/tools/build/gradle/0.13.0/gradle-0.13.0.pom'.
           &gt; peer not authenticated
  </code></pre>
  
  <p>I have search far and wide across the internet, with no avail. Please help me wise SO guru's!</p>