Work-around curl ssl certificates issue

This commit is contained in:
Lab 8916100448256 2021-11-30 18:16:15 +01:00
parent c974405b23
commit 1f97df4b42

View file

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