WHM using wrong datetime
I am trying to setup a "Manage Service SSL Certificates"
but WHM seems to be getting date/time out of thin air
this issue also seems to be why two factor auth setup is failing
any ideas on how to correct?
OS: centos 7
```
Certificate verification failed! An SSL/TLS certificate failed verification because the system"s time is Oct 10, 2022, 8:02:51 PM, and the certificate is not valid until Oct 25, 2022, 2:53:00 AM
```
```
To ensure consistency, we strongly recommend that you reboot the server after you change the time zone.
```
```
# date
Tue Oct 25 05:56:09 BST 2022
# timedatectl
Local time: Tue 2022-10-25 05:53:04 BST
Universal time: Tue 2022-10-25 04:53:04 UTC
RTC time: Tue 2022-10-25 04:53:04
Time zone: Europe/London (BST, +0100)
NTP enabled: yes
NTP synchronized: no
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2022-03-27 00:59:59 GMT
Sun 2022-03-27 02:00:00 BST
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2022-10-30 01:59:59 BST
Sun 2022-10-30 01:00:00 GMT
```
| Current Time |
|---|
| Tue Oct 25 05:56:32 BST 2022 |
-
Hey there! When is the last time you rebooted the system? I hate to recommend reboots, but that would likely be the easiest way to resolve this issue. 0 -
Out of interest, is the date/time setting on the computer you are using correct? The "Certificate verification failed! An SSL/TLS certificate failed verification because the system"s time..." seems like a web browser issue to me. -1
Please sign in to leave a comment.
Comments
2 comments