2

When trying to open a https site on my server, for which I bought a SSL-certificate, I get a NET::ERR_CERT_DATE_INVALID error in chrome.

What do I have to do on my ubuntu server to fix this?

This is a headless server, I only have console access, so no gui approaches please.

2 Answers2

1

Similar problems happened on my laptop (with Ubuntu 18.04 LTS) that wasn't turned on for quite a while. The system time gets wonky and is at least 18hrs off.

Everything else works fine but the issue raised when Google Chrome refuse to open any webpage.

This seems to fix the issue by correcting the system time.

sudo apt install ntp
timedatectl set-ntp true

See Enable System clock synchronization for other alternative fix.

alvas
  • 3,027
0

One of two things has happened.

  1. Your certificate has expired
  2. The system time is wrong
hg8
  • 13,582