Error build ONL

99 views
Skip to first unread message

Антон Сёмин

unread,
Oct 12, 2021, 6:24:13 AM10/12/21
to opennetworklinux
Hello!
When assembling an ONL_EXAWARE, a kernel certification error occurs:
 
Resolving www.kernel.org (www.kernel.org)... 145.40.68.75, 2604:1380:4601:e00::1
Connecting to www.kernel.org (www.kernel.org)|145.40.68.75|:443... connected.
ERROR: The certificate of 'www.kernel.org' is not trusted.
ERROR: The certificate of 'www.kernel.org' has expired.
 
Tell me how you can fix it.

Ezpeer Chen

unread,
Oct 13, 2021, 4:09:01 AM10/13/21
to opennetworklinux
You can download all kernel source (tar.xz) by yourself  to the folder "packages\base\any\kernels\archives".


ant....@gmail.com 在 2021年10月12日 星期二下午6:24:13 [UTC+8] 的信中寫道:

Allan Scheid

unread,
Oct 13, 2021, 9:58:21 AM10/13/21
to opennetworklinux
Hi!

These errors are caused by the old certificate DST_Root_CA_X3.crt, with expired on September 30, 2021:
https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

You can fix it by changing valid root certificates on your build environment with these commands:

# sed -i 's/^mozilla\/DST_Root_CA_X3.crt/!mozilla\/DST_Root_CA_X3.crt/' /etc/ca-certificates.conf
# update-ca-certificates
Reply all
Reply to author
Forward
0 new messages