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

zscaler guide issue, zscaler-cert.pem does not work with update-ca-certificates, should use .crt extension instead #21918

Closed
1 task done
bew opened this issue Jan 29, 2025 · 5 comments · Fixed by #21920
Closed
1 task done

Comments

@bew
Copy link
Contributor

bew commented Jan 29, 2025

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

Hello,

I tried following the ZScaler guide to add a new CA certificate to my containers, but later curl calls were still failing.
Using explicit curl --cacert /path/to/zscaler-cert.pem ... did work though.

After some research, I found out that only files with .crt extension are automatically added by update-ca-certificates but the guide suggests to use .pem extension instead..

Surprisingly an earlier generic guide for adding ca certs in a docker image does tell users to use .crt extension, so I guess this is only an error/typo in the zscaler guide.

/cc @dvdksn (as you wrote both guides in #21284 #20822)

Location

https://docs.docker.com/guides/zscaler/

Suggestion

The guide should be updated to use zscaler-cert.crt instead of zscaler-cert.pem, so that update-ca-certificates actually automatically adds it to the trusted ca certificates.

@bew bew added the status/triage Needs triage label Jan 29, 2025
@dvdksn dvdksn self-assigned this Jan 29, 2025
@dvdksn
Copy link
Contributor

dvdksn commented Jan 29, 2025

Thanks @bew for catching this - sorry about any inconvenience this caused. Let me get it updated.

@bew
Copy link
Contributor Author

bew commented Jan 29, 2025

ah I also made a PR actually with some more details #21920

@dvdksn
Copy link
Contributor

dvdksn commented Jan 29, 2025

@bew ah thank you - let me approve yours 👍🏻

@bew
Copy link
Contributor Author

bew commented Jan 29, 2025

Awesome, thank you for the quick reaction ✨

@docker-robot
Copy link

docker-robot bot commented Feb 28, 2025

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker-robot docker-robot bot locked and limited conversation to collaborators Feb 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants