You are not logged in.

#1 2021-05-30 16:14:51

malacology
Member
Registered: 2021-04-24
Posts: 152

[Solved] SSL certificate problem: certificate is not yet valid

[guoyi@helix ~]$ sudo pacman -Syy
[sudo] password for guoyi: 
:: Synchronising package databases...
error: failed retrieving file 'core.db' from mirrors.ustc.edu.cn : SSL certificate problem: certificate is not yet valid
 core                                           133.0 KiB  33.4 KiB/s 00:04 [###########################################] 100%
error: failed retrieving file 'extra.db' from mirrors.ustc.edu.cn : SSL certificate problem: certificate is not yet valid
 extra                                         1549.3 KiB  26.4 KiB/s 00:59 [###########################################] 100%
error: failed retrieving file 'community.db' from mirrors.ustc.edu.cn : SSL certificate problem: certificate is not yet valid
error: failed retrieving file 'community.db' from mirrors.tuna.tsinghua.edu.cn : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
 community                                        5.5 MiB  40.5 KiB/s 02:20 [###########################################] 100%
error: failed retrieving file 'multilib.db' from mirrors.ustc.edu.cn : SSL certificate problem: certificate is not yet valid
 multilib                                       150.3 KiB  94.6 KiB/s 00:02 [###########################################] 100%
error: failed retrieving file 'archlinuxcn.db' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404
error: failed to update archlinuxcn (failed to retrieve some files)
error: failed to synchronize all databases

Same mirrorlist is used for my Arch PC, but the information of Arch Rock Pi X meets the  SSL certificate problem: certificate is not yet valid

Last edited by malacology (2021-05-30 16:24:08)


Don't speak to silly man. Keep Minimalism.

Offline

#2 2021-05-30 16:16:55

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] SSL certificate problem: certificate is not yet valid

Is your system clock correct?
Post the output of timedatectl


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-05-30 16:21:42

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [Solved] SSL certificate problem: certificate is not yet valid

Slithery wrote:

Is your system clock correct?
Post the output of timedatectl

It seems not right

[guoyi@helix ~]$ timedatectl status
               Local time: Tue 2021-05-18 19:28:40 CST
           Universal time: Tue 2021-05-18 11:28:40 UTC
                 RTC time: Sun 2012-01-01 02:10:24
                Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: no

Don't speak to silly man. Keep Minimalism.

Offline

#4 2021-05-30 16:23:38

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [Solved] SSL certificate problem: certificate is not yet valid

I solved after I try

timedatectl set-ntp true

Don't speak to silly man. Keep Minimalism.

Offline

#5 2025-05-17 16:53:46

notsosmartapplez
Member
Registered: 2025-05-17
Posts: 1

Re: [Solved] SSL certificate problem: certificate is not yet valid

Thanks @malacology! That command worked for me!

Offline

#6 2025-05-17 19:50:57

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,801
Website

Re: [Solved] SSL certificate problem: certificate is not yet valid


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB