Missing certificate to requested taget
rasmusviben opened this issue · comments
Im facing an issue when trying to apply this plugin. Seems that I'm missing a valid certificate, but I've exported and generated the certificate from https://plugins.gradle.org/m2/com/github/jacobono/gradle-xsd-wsdl-slurping/1.1.2/gradle-xsd-wsdl-slurping-1.1.2.pom into my jre/lib/security folder.
Although it still won't apply it. This error still occurs:
Could not resolve com.github.jacobono:gradle-xsd-wsdl-slurping:1.1.2.
Required by:
project : > com.github.jacobono:gradle-wsdl-plugin:1.7.7
> Could not resolve com.github.jacobono:gradle-xsd-wsdl-slurping:1.1.2.
> Could not get resource 'https://plugins.gradle.org/m2/com/github/jacobono/gradle-xsd-wsdl-slurping/1.1.2/gradle-xsd-wsdl-slurping-1.1.2.pom'.
> Could not GET 'https://plugins.gradle.org/m2/com/github/jacobono/gradle-xsd-wsdl-slurping/1.1.2/gradle-xsd-wsdl-slurping-1.1.2.pom'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Can anyone explain or direct me to the solution? Is the URL for the certificate wrong, or?
Thanks!
Is there any solution on this. I am facing this too.