Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: zscaler root ca should be .crt, not .pem #21919

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/guides/zscaler/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ like this:

```dockerfile
FROM debian:bookworm
COPY zscaler-cert.pem /usr/local/share/ca-certificates/zscaler-cert.pem
COPY zscaler-cert.crt /usr/local/share/ca-certificates/zscaler-cert.crt
RUN apt-get update && \
apt-get install -y ca-certificates && \
update-ca-certificates
```

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

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

FROM debian:bookworm-slim AS final
ADD --checksum=sha256:24454f830cdb571e2c4ad15481119c43b3cafd48dd869a9b2945d1036d1dc68d \
https://artifacts.example/certs/zscaler-cert.pem /usr/local/share/ca-certificates/zscaler-cert.pem
https://artifacts.example/certs/zscaler-cert.crt /usr/local/share/ca-certificates/zscaler-cert.crt
RUN apt-get update && \
apt-get install -y ca-certificates && \
update-ca-certificates
Expand Down