Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20645

Distrusted HTTPS Certificate after relocation from plugins.gradle.org to cloudfront.net

$
0
0

I was also experiencing similar behaviour last week - and continue to do so:

> Could not resolve all artifacts for configuration ':classpath'.
   > Could not download ant.jar (org.apache.ant:ant:1.10.7)
      > Could not get resource 'https://plugins.gradle.org/m2/org/apache/ant/ant/1.10.7/ant-1.10.7.jar'.
         > Could not GET 'https://d29vzk4ow07wi7.cloudfront.net/dab4d3b2e45b73aec95cb25ce5050a651ad060f50f74662bbc3c1cb406ec1d19?response-content-disposition=attachment%3Bfilename%3D%22ant-1.10.7.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvZGFiNGQzYjJlNDViNzNhZWM5NWNiMjVjZTUwNTBhNjUxYWQwNjBmNTBmNzQ2NjJiYmMzYzFjYjQwNmVjMWQxOT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmFudC0xLjEwLjcuamFyJTIyIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTc3MjI1ODkwfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9fX1dfQ__&Signature=ISJR8qI9MEp9XTOmnkfWQmJVckJQDhtl2baSOImfCUfL2apqpd4CQF9DfzNE7aiDZ4DQL-gzkAh6Nbg6XiqGuGTgXZnPCs3cm2vKN83XtevIcGw5u3vh6n-iiN7l7TXSIk-NB8jbebaCjdp9ZTf~EkWcJwM5OPBNlka1SAr0H4P6Zs6aG1gsWAv2FUts5RqubXBdsbo9HwAbBYTES2MKF~EyPzRd5U8hu-X72S4UdK-oLzNGa~xAVTynIczYFl0aA-QDZwV783wCpfspr6o87nAR4lbxqLe5c9xoPFyQwSvwNn-sZimU2IwhDRl2eNxCuRQjgB8yprcfC-Hfzt8EKw__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA'.
            > sun.security.validator.ValidatorException: TLS Server certificate issued after 2019-04-16 and anchored by a distrusted legacy Symantec root CA: CN=VeriSign Class 3 Public Primary Certification Authority - G5, OU="(c) 2006 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US

Gradle/Java version:

------------------------------------------------------------
Gradle 5.6.2
------------------------------------------------------------

Build time:   2019-09-05 16:13:54 UTC
Revision:     55a5e53d855db8fc7b0e494412fc624051a8e781

Kotlin:       1.3.41
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          1.8.0_212 (Oracle Corporation 25.212-b03)
OS:           Linux 4.15.0-1056-aws amd64

Here’s the output I get from your ‘curl’ request:

# curl -v https://d29vzk4ow07wi7.cloudfront.net
* Rebuilt URL to: https://d29vzk4ow07wi7.cloudfront.net/
*   Trying 13.224.68.155...
* Connected to d29vzk4ow07wi7.cloudfront.net (13.224.68.155) port 443 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 592 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
*        server certificate verification OK
*        server certificate status verification SKIPPED
*        common name: *.cloudfront.net (matched)
*        server certificate expiration date OK
*        server certificate activation date OK
*        certificate public key: RSA
*        certificate version: #3
*        subject: C=US,ST=Washington,L=Seattle,O=Amazon.com\, Inc.,CN=*.cloudfront.net
*        start date: Wed, 17 Jul 2019 00:00:00 GMT
*        expire date: Sun, 05 Jul 2020 12:00:00 GMT
*        issuer: C=US,O=DigiCert Inc,CN=DigiCert Global CA G2
*        compression: NULL
* ALPN, server did not agree to a protocol
> GET / HTTP/1.1
> Host: d29vzk4ow07wi7.cloudfront.net
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Server: CloudFront
< Date: Tue, 24 Dec 2019 22:22:00 GMT
< Content-Type: text/xml
< Content-Length: 146
< Connection: keep-alive
< X-Cache: Error from cloudfront
< Via: 1.1 5e2b2bef8be6bee05fe23de3ed9e3a6e.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: DUB2-C1
< X-Amz-Cf-Id: TsxPzizaCk4WNpxgj5NtZhDMzyYY1mSdbY5BLgfNEzwDnlcDFhVHvg==
<
* Connection #0 to host d29vzk4ow07wi7.cloudfront.net left intact
<?xml version="1.0" encoding="UTF-8"?><Error><Code>MissingKey</Code><Message>Missing Key-Pair-Id query parameter or cookie value</Message></Error>

Viewing all articles
Browse latest Browse all 20645

Trending Articles