Rl10 and dnf update = problem

Fresh linux/
dnf update and have this error:

 kernel-modules                      x86_64        6.12.0-124.28.1.el10_1           baseos            41 M
 kernel-modules-core                 x86_64        6.12.0-124.28.1.el10_1           baseos            30 M
 kernel-modules-extra                x86_64        6.12.0-124.28.1.el10_1           baseos           2.8 M

Transaction Summary
===========================================================================================================
Install  5 Packages
Upgrade  7 Packages

Total download size: 110 M
Is this ok [y/N]: y
Downloading Packages:
                                       [   ===                           ] ---  B/s |   0  B     --:-- ETA
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
  Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-10 [SSL certificate problem: certificate is not yet valid]

?

I just tried on one of mine, and is fine. It might be worthwhile doing:

dnf clean all
dnf update

that will clear all existing dnf info, and initiate new repo data locally as it could just be a specific mirror with an expired certificate. The above may or may not help, but worth a try.

Thank you for suggestion.
I didn’t have time to try your recommendation. sorry.
I rebooted the server.
After rebooting, the problem went away
Serg

1 Like