Skip to content

Instantly share code, notes, and snippets.

@thewisenerd
Created January 18, 2024 14:17
Show Gist options
  • Save thewisenerd/6885daa1b017d807671e0a83d1125464 to your computer and use it in GitHub Desktop.
Save thewisenerd/6885daa1b017d807671e0a83d1125464 to your computer and use it in GitHub Desktop.
docker stretch ca-certificates letsencrypt
# Update stretch repositories
RUN sed -i -e 's/deb.debian.org/archive.debian.org/g' \
-e 's|security.debian.org|archive.debian.org|g' \
-e '/stretch-updates/d' /etc/apt/sources.list
# LetsEncrypt DST Root CA X3 expired on 2021-09-30
# https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
RUN sed -i '/^mozilla\/DST_Root_CA_X3.crt$/ s/^/!/' /etc/ca-certificates.conf
RUN update-ca-certificates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment