Skip to content

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

@obriat

Description

@obriat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions