Thanks for that.

This command is actually spat out by the apt_key ansible module….
 but I'm sure there's a way around it.

Cheers,

R
From: Bowen Song <bo...@bso.ng>
Sent: 07 October 2021 14:05
To: user@cassandra.apache.org
Subject: Re: Problem with www.apache.org/dist/cassandra/KEYS?


Well...

$ wget -qO - https://www.apache.org/dist/cassandra/KEYS | wc -c
0
The first part of the command is clearly not working. Removing the "-q", and 
"wget" shows the error message:
$ wget -O - https://www.apache.org/dist/cassandra/KEYS
--2021-10-07 12:03:34--  https://www.apache.org/dist/cassandra/KEYS
Resolving www.apache.org<http://www.apache.org> 
(www.apache.org<http://www.apache.org>)... 151.101.2.132, 2a04:4e42::644
Connecting to www.apache.org<http://www.apache.org> 
(www.apache.org<http://www.apache.org>)|151.101.2.132|:443... connected.
ERROR: The certificate of 'www.apache.org<http://www.apache.org>' is not 
trusted.
ERROR: The certificate of 'www.apache.org<http://www.apache.org>' has expired.
I guess that's the expired Let's Encrypt root certificate issue.

Try curl?
$ curl -sL https://www.apache.org/dist/cassandra/KEYS | wc -c
274323

On 06/10/2021 17:47, 
rhys.campb...@swisscom.com<mailto:rhys.campb...@swisscom.com> wrote:
Anyone else having problems doing this?

wget -qO - https://www.apache.org/dist/cassandra/KEYS | apt-key add -
gpg: key AD055BC2: no valid user IDs

This seems to refer to the following section…

-----END PGP PUBLIC KEY BLOCK-----
pub   ed25519 2021-10-05 [SC]
      7882099F3A0033DDD63D100C92BBDF5FAD055BC2
uid           [ultimate] Benedict Elliott Smith 
<bened...@apache.org><mailto:bened...@apache.org>
sig 3        92BBDF5FAD055BC2 2021-10-05  Benedict Elliott Smith 
<bened...@apache.org><mailto:bened...@apache.org>
sub   cv25519 2021-10-05 [E]
sig          92BBDF5FAD055BC2 2021-10-05  Benedict Elliott Smith 
<bened...@apache.org><mailto:bened...@apache.org>

-----BEGIN PGP PUBLIC KEY BLOCK-----


Reply via email to