title: project refresh failed: peer not authenticated --intellij
body: <p>I've been battling intellij for a while now, i had a project that i was working on, on a windows system. i recently moved to ubuntu and now opening this projects folder has been giving this gradle error. this is the last few lines in my log file:</p>
  
  <pre><code>Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
  at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572)
  at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
  at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
  at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
  at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
  at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:137)
  at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:118)
  at org.gradle.internal.resource.transport.http.HttpClientHelper.performHttpRequest(HttpClientHelper.java:113)
  at org.gradle.internal.resource.transport.http.HttpClientHelper.executeGetOrHead(HttpClientHelper.java:90)
  at org.gradle.internal.resource.transport.http.HttpClientHelper.performRequest(HttpClientHelper.java:81)
  ... 126 more
  </code></pre>
  
  <p>i've been through the similar posts on SO .... no luck. Thanks in advance</p>