Skip to content

Commit 0f6df87

Browse files
committed
guides: Fix cert extension to be auto-added by update-ca-certificates
1 parent 7e6ba1e commit 0f6df87

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/guides/zscaler/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ like this:
8484

8585
```dockerfile
8686
FROM debian:bookworm
87-
COPY zscaler-cert.pem /usr/local/share/ca-certificates/zscaler-cert.pem
87+
COPY zscaler-root-ca.crt /usr/local/share/ca-certificates/zscaler-root-ca.crt
8888
RUN apt-get update && \
8989
apt-get install -y ca-certificates && \
9090
update-ca-certificates
9191
```
9292

93-
Here, `zscaler-cert.pem` is the root certificate, located at the root of the
93+
Here, `zscaler-root-ca.crt` is the root certificate, located at the root of the
9494
build context (often within the application's Git repository).
9595

9696
If you use an artifact repository, you can fetch the certificate directly using
@@ -100,7 +100,7 @@ the content digest of the certificate is correct.
100100
```dockerfile
101101
FROM debian:bookworm
102102
ADD --checksum=sha256:24454f830cdb571e2c4ad15481119c43b3cafd48dd869a9b2945d1036d1dc68d \
103-
https://artifacts.example/certs/zscaler-cert.pem /usr/local/share/ca-certificates/zscaler-cert.pem
103+
https://artifacts.example/certs/zscaler-root-ca.crt /usr/local/share/ca-certificates/zscaler-root-ca.crt
104104
RUN apt-get update && \
105105
apt-get install -y ca-certificates && \
106106
update-ca-certificates
@@ -123,7 +123,7 @@ RUN --mount=target=. cmake -B output/
123123

124124
FROM debian:bookworm-slim AS final
125125
ADD --checksum=sha256:24454f830cdb571e2c4ad15481119c43b3cafd48dd869a9b2945d1036d1dc68d \
126-
https://artifacts.example/certs/zscaler-cert.pem /usr/local/share/ca-certificates/zscaler-cert.pem
126+
https://artifacts.example/certs/zscaler-root-ca.crt /usr/local/share/ca-certificates/zscaler-root-ca.crt
127127
RUN apt-get update && \
128128
apt-get install -y ca-certificates && \
129129
update-ca-certificates

0 commit comments

Comments
 (0)