Issues with the RPM repository provided in the HowTo

Hello,

I am experiencing issues when trying to set up the RPM repository for Elasticsearch as described in the official guide: Install Elasticsearch with RPM | Elasticsearch Guide [8.14] | Elastic.

Here is the command I am using as per the guide:

sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
cat <<EOF | sudo tee /etc/yum.repos.d/elasticsearch.repo
[elasticsearch-8.x]
name=Elasticsearch repository for 8.x packages
baseurl=https://artifacts.elastic.co/packages/8.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
EOF

dnf update

Updating Subscription Management repositories.
Elastic repository for 8.x packages 0.0 B/s | 0 B 00:12
Errors during downloading metadata for repository 'elastic-8.x':

Standard tests with ping, curl, etc. Check date/time sync for ssl.