You are not logged in.

#1 2014-06-20 23:17:08

replabrobin
Member
Registered: 2010-05-06
Posts: 240

[SOLVED] certificate problems caused by future time

I had a couple of network issues and started using a new router. Probably coincidentally I have started to get some strange ssl errors whilst trying to upgrade one computer eg

$ wget https://aur.archlinux.org/packages/81/8192cu-dkms/8192cu-dkms.tar.gz
--2041-06-20 23:50:05--  https://aur.archlinux.org/packages/81/8192cu-dkms/8192cu-dkms.tar.gz
Resolving aur.archlinux.org (aur.archlinux.org)... 78.46.78.247, 2a01:4f8:120:34c2::2
Connecting to aur.archlinux.org (aur.archlinux.org)|78.46.78.247|:443... connected.
ERROR: cannot verify aur.archlinux.org's certificate, issued by ‘/C=IL/O=StartCom Ltd./OU=Secure Digital Certificate Signing/CN=StartCom Class 2 Primary Intermediate Server CA’:
  Issued certificate has expired.

it seems my system clock is some years in the future

$ date
Fri 21 Jun 00:01:57 BST 2041
robin@jaykat /etc:

however, I do seem to have the timesyncd service running

$ sudo systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
   Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; enabled)
   Active: active (running) since Thu 2041-06-20 23:45:18 BST; 17min ago
     Docs: man:systemd-timesyncd.service(8)
 Main PID: 264 (systemd-timesyn)
   CGroup: /system.slice/systemd-timesyncd.service
           └─264 /usr/lib/systemd/systemd-timesyncd

Jun 20 23:45:18 jaykat systemd[1]: Started Network Time Synchronization.

.

/etc/systemd/timesyncd.conf contains

$ grep Servers /etc/systemd/timesyncd.conf 
#Servers=time1.google.com time2.google.com time3.google.com time4.google.com
Servers=0.uk.pool.ntp.org  1.uk.pool.ntp.org 2.uk.pool.ntp.org 3.uk.pool.ntp.org

How can I check that timesyncd is doing the right thing; it doesn't seem to leave messages in the journal.

I see no obvious errors in the journalctl output and things seem to be all right after I reset the date and then restart the timesyncd service.

Edit: I think this is a hardware issue.

Last edited by replabrobin (2014-06-21 08:47:21)

Offline

#2 2014-06-20 23:24:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] certificate problems caused by future time

systemd-timesyncd only works if systemd-networkd is running. You don't have to actually configure anything with systemd-networkd, but it has to be running.

Offline

#3 2014-06-21 06:10:14

hydrosIII
Member
Registered: 2013-04-04
Posts: 127

Re: [SOLVED] certificate problems caused by future time

It will also be good to check if your new router has the correct date, and if possible use a ntp service in the router too.

Offline

#4 2014-06-21 08:46:07

replabrobin
Member
Registered: 2010-05-06
Posts: 240

Re: [SOLVED] certificate problems caused by future time

I think this might be a hardware issue. The PC is fairly old and perhaps it's dying.

Offline

#5 2014-06-22 21:56:05

hydrosIII
Member
Registered: 2013-04-04
Posts: 127

Re: [SOLVED] certificate problems caused by future time

If the clock is getting crazy yu can just change the clock battery sometimes it works

Offline

Board footer

Powered by FluxBB