Cannot add the rmpfusion repositories

Hello everyone,

I am trying to add the rpmfusion repositories:
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

But I get the following error:

Last metadata expiration check: 0:15:31 ago on Thu 11 Jul 2024 08:22:31 AM -05.
[MIRROR] rpmfusion-free-release-40.noarch.rpm: Curl error (60): SSL peer certificate or SSH remote key was not OK fo
r https://mirror.hnd.cl/rpmfusion/free/fedora/rpmfusion-free-release-40.noarch.rpm [SSL certificate problem: certifi
cate has expired]
[MIRROR] rpmfusion-free-release-40.noarch.rpm: Curl error (60): SSL peer certificate or SSH remote key was not OK fo
r https://mirror.hnd.cl/rpmfusion/free/fedora/rpmfusion-free-release-40.noarch.rpm [SSL certificate problem: certifi
cate has expired]
[MIRROR] rpmfusion-free-release-40.noarch.rpm: Curl error (60): SSL peer certificate or SSH remote key was not OK fo
r https://mirror.hnd.cl/rpmfusion/free/fedora/rpmfusion-free-release-40.noarch.rpm [SSL certificate problem: certifi
cate has expired]
[MIRROR] rpmfusion-free-release-40.noarch.rpm: Curl error (60): SSL peer certificate or SSH remote key was not OK fo
r https://mirror.hnd.cl/rpmfusion/free/fedora/rpmfusion-free-release-40.noarch.rpm [SSL certificate problem: certifi
cate has expired]
[FAILED] rpmfusion-free-release-40.noarch.rpm: Curl error (60): SSL peer certificate or SSH remote key was not OK fo
r https://mirror.hnd.cl/rpmfusion/free/fedora/rpmfusion-free-release-40.noarch.rpm [SSL certificate problem: certifi
cate has expired]
Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirror.hnd.cl/rpmfusion/free/fedora/r
pmfusion-free-release-40.noarch.rpm [SSL certificate problem: certificate has expired]

I can still do other dnf stuff, like dnf update or even install other software.
All I did recently was install and uninstall some software, dont know if that is what is causing the problem:

dnf history
22 | update                                                        | 2024-07-11 08:22 | Upgrade        |    7   
    21 | install aerc                                                  | 2024-07-10 21:55 | Install        |    5   
    20 | remove ffmpeg-free                                            | 2024-07-10 21:35 | Removed        |    9   
    19 | group remove Multimedia                                       | 2024-07-10 21:31 | C, E           |   16   
    18 | group install Multimedia                                      | 2024-07-10 21:10 | Install        |

Thanks for your help.

Use (it’s a single line command).

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm

thank you leigh,
Do you have any idea why the other command is not working?

mirrormanager directed you to a mirror with an expired ssl certificate.

https://mirror.hnd.cl/

This server could not prove that it is mirror.hnd.cl ; its security certificate expired 2 days ago. This may be caused by a misconfiguration or an attacker intercepting your connection. Your computer’s clock is currently set to Thursday 11 July 2024. Does that look right? If not, you should correct your system’s clock and then refresh this page.

4 Likes

Thanks for the explanation. Now I know a bit more. Im being sent to a dark place.
My system clock is showing me the right date and time.
How could I see if this is an attacker?
Any way of testing my connection?
My internet has been kinda sluggish in a bizarre way these days.
Thanks.

It isn’t an attack, it’s just an expired server cert on that mirror.

4 Likes

Added rpmfusion

Try download from https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm and https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm using your favorite browser.

Works fine here, those mirror urls redirect to the the nearest server.

$ curl https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm   -s -L -I -o /dev/null -w '%{url_effective}'
https://rpmfusion.ip-connect.info/free/fedora/rpmfusion-free-release-40.noarch.rpm

Good catch

Try https://download1.rpmfusion.org/free/fedora/releases/40/Everything/x86_64/os/Packages/r/