Skip to content

RPM package repository - key too weak #2470

@DasFaultier

Description

@DasFaultier

Hi everyone,

I was trying to sudo dnf update my RHEL 8.10 system and got the following error message:

$ sudo dnf update
Subscription Management Repositorys werden aktualisiert.
MediaArea.net SARL software repository for rpm based distributions - x86_64                                          0.0  B/s |   0  B     00:00
Errors during downloading metadata for repository 'MediaArea':
  - Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://mediaarea.net/repo/rpm/releases/CentOS_8/x86_64/repodata/repomd.xml [SSL certificate problem: EE certificate key too weak]
Fehler: Failed to download metadata for repo 'MediaArea': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

So I went to re-read the documentation at https://mediaarea.net/en/Repos and tried to reinstall the repo-MediaArea-1.0-26.noarch.rpm package to make sure I wasn't making any mistakes and that the repo package was recent, but rpm wasn't able to pull the package either; same error.
The last line in the output says "Error: skipping .rpm - transmission failed", but the relevant part happens before that.

sudo rpm -Uvh https://mediaarea.net/repo/rpm/releases/repo-MediaArea-1.0-26.noarch.rpm
https://mediaarea.net/repo/rpm/releases/repo-MediaArea-1.0-26.noarch.rpm wird geholt
curl: (60) SSL certificate problem: EE certificate key too weak
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Fehler: https://mediaarea.net/repo/rpm/releases/repo-MediaArea-1.0-26.noarch.rpm wird übersprungen - Übertragung fehlgeschlagen

Just to be on the safe side, I downloaded the package using curl and ignored certificate errors, but in the end I only found that the repo package was already installed in the latest version, so that looks very much like a server side issue.

$ curl -k https://mediaarea.net/repo/rpm/releases/repo-MediaArea-1.0-26.noarch.rpm
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
[jsachse@sdvlzarosappdev ~]$ curl -k https://mediaarea.net/repo/rpm/releases/repo-MediaArea-1.0-26.noarch.rpm --output repo-MediaArea-1.0-26.noarch.rpm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13196  100 13196    0     0   122k      0 --:--:-- --:--:-- --:--:--  122k

$ rpm -Uvh repo-MediaArea-1.0-26.noarch.rpm
Fehler: Transaktion-Sperre auf /var/lib/rpm/.rpm.lock kann nicht erstellt werden (Permission denied)
[jsachse@sdvlzarosappdev ~]$ sudo !!
sudo rpm -Uvh repo-MediaArea-1.0-26.noarch.rpm
Verifying...                          ################################# [100%]
Vorbereiten …                       ################################# [100%]
        Das Paket repo-MediaArea-1.0-26.noarch ist bereits installiert

Could you please check the TLS certificate and key for the rpm package repository and update them with more modern versions?

Thank you and best regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions