Sub Domain PKIX certifcate failed

rsivalingam@LM-MAA-40713047 metadata-ingestion % ./gradlew metadata-ingestion:build

Downloading https://services.gradle.org/distributions/gradle-7.3.3-bin.zip

Exception in thread “main” javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I have installed PKI certificate of gradle.org into my local keystore for jdk 11 but service.gradle.org is failing

could you help

I’d guess you have some bad proxy or man in the middle attack there.
The certificate of that URL works fine here.
You could try to run JAVA_TOOL_OPTIONS=-Djavax.net.debug=all ./gradlew metadata-ingestion:build to see exactly what is going on SSL communication wise.