Unable to download plugins due to SSL PKIX error

(Jacek Furmankiewicz) #1

I just checked out a project to my my new Fedora 25 box, which has the latest OpenJDK 1.8.111 on it.

When I try to build the project, it tries to fetch new plugins I don’t have locally and they all fail with SSL PKIX error, e.g.

./gradlew clean

  • What went wrong:
    Error resolving plugin [id: ‘com.github.johnrengelman.shadow’, version: ‘1.2.4’]

Could not GET ‘https://plugins.gradle.org/api/gradle/3.2/plugin/use/com.github.johnrengelman.shadow/1.2.4’.
sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed

Any suggestions as to what the problem may be?

(Jacek Furmankiewicz) #2

I am on Gradle wrapper 3.2 BTW

(Mark Vieira) #3

This seems to work for me with OpenJDK 1.8.0_121. Could you potentially try updating and trying again?