Skip to content

Commit 09f43d3

Browse files
authored
fix(docker-only): add Let's Encrypt Gen Y root certificates (#7453)
1 parent 2e4d2e6 commit 09f43d3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docker/debian-base.dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ RUN curl https://pkg.cloudflare.com/cloudflare-main.gpg --output /usr/share/keyr
5858
COPY ./docker/etc/nscd.conf /etc/nscd.conf
5959
COPY ./docker/etc/sudoers /etc/sudoers
6060

61+
# Debian bookworm does not have Let's Encrypt's Gen Y root certs.
62+
# Not sure if it is the best solution, and not sure if Debian will add them in the future, but for now we can just add them manually.
63+
RUN curl -fsSL https://letsencrypt.org/certs/gen-y/root-ye.pem -o /usr/local/share/ca-certificates/isrg-root-ye.crt && \
64+
curl -fsSL https://letsencrypt.org/certs/gen-y/root-yr.pem -o /usr/local/share/ca-certificates/isrg-root-yr.crt && \
65+
update-ca-certificates
6166

6267
# Full Base Image
6368
# MariaDB, Chromium and fonts

0 commit comments

Comments
 (0)