#1031398 debian-installer-utils: fetch-url fails with https if system date is wrong

#1031398#5
Date:
2023-02-16 13:27:59 UTC
From:
To:
Booting with preseed/url=https://example.org/preseed.cfg fails if the system's
clock is awfully wrong. I've got a system convinved that today is January 1st,
1970 and unsurprisingly the wget certificate check fails. Also unsurprisingly
adding debian-installer/allow_unauthenticated_ssl=true is a viable workaround.

Given that AFAIK d-i does support setting the date with ntp, it may possibly
make sense to do that before wgetting the preseed file?

Thanks,
  Emanuele

#1031398#10
Date:
2023-02-16 13:38:39 UTC
From:
To:
Emanuele Rocca <ema@debian.org> (2023-02-16):

Might be a chicken and egg problem is the NTP settings are in the
preseed file… (Also you might have local networking only, meaning
default NTP servers might not be reachable anyway.)


Cheers,