Peer not authenticated - plugins.gradle.org/m2 - java/jdk 1.7

While executing gradlew - getting error peer not authenticated
Java: jdk1.7.0_80
Gradlew uses distribution url: 2.10

   15:33:51    > Could not resolve org.sonarsource.scanner.api:sonar-scanner-api:2.6.
   15:33:51      Required by:
   15:33:51          :connect:unspecified > org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.0.1
    15:33:51       > Could not resolve org.sonarsource.scanner.api:sonar-scanner-api:2.6.
    15:33:51          > Could not get resource 'https://plugins.gradle.org/m2/org/sonarsource/scanner/api/sonar-scanner-api/2.6/sonar-scanner-api-2.6.pom'.
    15:33:51             > Could not HEAD 'https://plugins.gradle.org/m2/org/sonarsource/scanner/api/sonar-scanner-api/2.6/sonar-scanner-api-2.6.pom'

Works perfectly in jdk1.8 environment

solution tried:
Copy certs from jdk1.8 to 1.7
tried distribution 2.11 to 2.14 (getting connection reset or other error’s)