Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running dietpi-config first time - "The Certificate has not yet been activated" #2020

Closed
carlosedp opened this issue Aug 18, 2018 · 5 comments
Assignees
Milestone

Comments

@carlosedp
Copy link

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.

@carlosedp
Copy link
Author

carlosedp commented Aug 18, 2018

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

@Fourdee
Copy link
Collaborator

Fourdee commented Aug 18, 2018

@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.

@Fourdee Fourdee self-assigned this Aug 18, 2018
@Fourdee Fourdee added this to the v6.14 milestone Aug 18, 2018
@Fourdee
Copy link
Collaborator

Fourdee commented Aug 20, 2018

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:

dietpi-software

@Fourdee
Copy link
Collaborator

Fourdee commented Aug 20, 2018

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

@ahmedmoselhi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants