My java environment in wsl was configured to work within my company environment with maven. Gradle needed more access so I needed to discover, acquire, and import external certificates to my cacerts. Unfortunately, gradle was not returning information that clearly pointed out that it was a certificate and access problem. It was saying it had searched a set of repositories and not found the resource. The errors read as if gradle could access the repo, but not find the resource. Not that gradle could not access the repo.
So, I used Chrome to navigate to the various repos in my build.gradle and determined which repos I need to access and started with gradle.org. I exported the cert from the browser then imported it to my cacert with:
sudo keytool -importcert -trustcacerts -cacerts -storepass changeit -file ~/gradle.org.crt -alias gradleplugins
After importing that cert I confirmed that no gradle daemon was running and tried my gradle clean command again. I iterated through each subsequent 'PKIX path building failed:' error I received and exported and imported each cert until success.