Dietpi: Error running dietpi-config first time - "The Certificate has not yet been activated"

Created on 18 Aug 2018  Β·  5Comments  Β·  Source: MichaIng/DietPi

I've been facing this problem every time I reflash my test boards. The first run of dietpi-config (or dietpi-software) present me with this error:

──────────────────────────── DietPi Error Handler: β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€

DietPi-Software: Connection test: http://deb.debian.org/debian/
 - Exit code: 5
 - DietPi version: v6.9 | HW_MODEL:69 | HW_ARCH:3 | DISTRO:4
 - Image creator: 0
 - Pre-image: DietPi/FriendlyARM

Log file contents:
URL transformed to HTTPS due to an HSTS policy
Spider mode enabled. Check if remote file exists.
--2018-06-10 02:48:47--  https://deb.debian.org/debian/
Resolving deb.debian.org (deb.debian.org)... 128.31.0.62, 5.153.231.4,
149.20.4.15, ...
Connecting to deb.debian.org (deb.debian.org)|128.31.0.62|:443... connected.
ERROR: The certificate of β€˜deb.debian.org’ is not trusted.
ERROR: The certificate of β€˜deb.debian.org’ is not yet activated.
The certificate has not yet been activated

                                     <Ok>

────────────────────────────────────────────────────────────────────────────────

I tried editing the apt sources.list to use the http instead of https mirrors but no success. Internet connection is Ok and I can run apt-get update / upgrade / install etc normally.

The problem only happens within dietpi apps.

Most helpful comment

Ok, i was unable to replicate this issue on my network. However, I believe this is the same issue users have experienced with our previous NTP system (now replaced with systemd-timesyncd on recent images).

In short, until we are able to update our images to v6.12> (to include the above change by default):
If you experience the above error, manually set the date:

#YYYY MM DD
date +%Y%m%d -s "20180820"

Then resume 1st run setup and update:


All 5 comments

BTW, updating the date to the correct one manually solved the problem. Apparently something wrong with NTP. After reboot the problem returned.

@carlosedp

Hi,

Thanks for the report πŸ‘

We've had a few reports of this, i'll try to replicate.

NTP was replaced with systemd-timesyncd system in v6.12 I believe. Once updated, this should provide more stability of timesync.

Ok, i was unable to replicate this issue on my network. However, I believe this is the same issue users have experienced with our previous NTP system (now replaced with systemd-timesyncd on recent images).

In short, until we are able to update our images to v6.12> (to include the above change by default):
If you experience the above error, manually set the date:

#YYYY MM DD
date +%Y%m%d -s "20180820"

Then resume 1st run setup and update:


I'll mark this as closed in favor of:
https://github.com/Fourdee/DietPi/issues/2026

BTW, updating the date to the correct one manually solved the problem. Apparently something wrong with NTP. After reboot the problem returned.

this solves a similar issue with me. thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Fourdee picture Fourdee  Β·  57Comments

MichaIng picture MichaIng  Β·  156Comments

N3mill0 picture N3mill0  Β·  107Comments

Fourdee picture Fourdee  Β·  113Comments

Fourdee picture Fourdee  Β·  127Comments