Created
January 18, 2024 14:17
-
-
Save thewisenerd/6885daa1b017d807671e0a83d1125464 to your computer and use it in GitHub Desktop.
docker stretch ca-certificates letsencrypt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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