Skip to content

Instantly share code, notes, and snippets.

@lyovkin
Created July 19, 2022 08:24
Show Gist options
  • Save lyovkin/a2da06d9591ece24615262eecb702847 to your computer and use it in GitHub Desktop.
Save lyovkin/a2da06d9591ece24615262eecb702847 to your computer and use it in GitHub Desktop.
apt-get update
apt-get download $(apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances ca-certificates | grep "^\w")
sed '/DST_Root_CA_X3.crt/d' /etc/ca-certificates.conf > /tmp/cacerts.conf && mv /tmp/cacerts.conf /etc/ca-certificates.conf
dpkg-reconfigure ca-certificates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment