Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-6.5-all.zip’

Hi James,
I cannot see any root certificate for gradle domain and for proxy.
I think the problem is with authentication in our proxy server, I must white listing this URL:
https://downloads.gradle-dn.com/

Because when I testing with wget I got a warning errors pointing to downloads.gradle-dn.com

Here is the results of the testing with wget:
wget https://services.gradle.org/distributions/gradle-6.5-all.zip --no-check-certificate


Connecting to proxy… connected.
WARNING: The certificate of ‘services.gradle.org’ is not trusted.
WARNING: The certificate of ‘services.gradle.org’ hasn’t got a known issuer.
Proxy request sent, awaiting response… 301 Moved Permanently
Location: https://downloads.gradle-dn.com/distributions/gradle-6.5-all.zip [following]

Connecting to proxy … connected.
WARNING: The certificate of ‘downloads.gradle-dn.com’ is not trusted.
WARNING: The certificate of ‘downloads.gradle-dn.com’ hasn’t got a known issuer.
Proxy request sent, awaiting response… 200 OK
Length: 145767155 (139M) [application/zip]
Saving to: ‘gradle-6.5-all.zip’

gradle-6.5-all.zip 100%[========================================================================================>] 139.01M 756 B/s in 54s

Can you check the warning errrors
I can download with wget, but is failing the gradlew command.