From 1f97df4b4248f3939dabc5b2f7bcbbd5d5b346b8 Mon Sep 17 00:00:00 2001 From: Lab 8916100448256 Date: Tue, 30 Nov 2021 18:16:15 +0100 Subject: [PATCH] Work-around curl ssl certificates issue --- stage3/00-install-yunohost/00-run.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stage3/00-install-yunohost/00-run.sh b/stage3/00-install-yunohost/00-run.sh index d742534..2e512c2 100755 --- a/stage3/00-install-yunohost/00-run.sh +++ b/stage3/00-install-yunohost/00-run.sh @@ -26,6 +26,13 @@ on_chroot << EOF update-ca-certificates -f -v EOF +# For some reason curl still doesnt recognize CA in any cert +# and this is fixed by adding a ~/.curlrc file ... +on_chroot << EOF +echo capath=/etc/ssl/certs/ > /root/.curlrc +echo cacert=/etc/ssl/certs/ca-certificates.crt >> /root/.curlrc +EOF + # Run the actual install on_chroot << EOF apt-get install insserv resolvconf -y