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

Allow HTTPS certification authorities updates: add openssl & update-ca-certificates to sudoers #201

Open
obriat opened this issue Jul 19, 2024 · 0 comments · May be fixed by #202
Open

Allow HTTPS certification authorities updates: add openssl & update-ca-certificates to sudoers #201

obriat opened this issue Jul 19, 2024 · 0 comments · May be fixed by #202

Comments

@obriat
Copy link

obriat commented Jul 19, 2024

I use php packages stored on a private repository, this repository use a private https certificate that is signed with a private certification authorities (CA).

I don't want composer to ignore https errors, so I need to register my private CA certificats in the image, here's the command:

curl -s http://ca.mynetwork.local/my_CA.crt | sudo openssl x509 -inform der -out /usr/local/share/ca-certificates/ca.mynetwork.local.my_CA.crt
sudo update-ca-certificates

To perform this, I need /usr/bin/openssl and /usr/sbin/update-ca-certificates to be added to /etc/sudoers.d/wodby

I'll provide a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant