You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use an internal CA for generating SSL certs. To enable an instance to trust SSL signed with our internal CA we generally update our /etc/ssl/certs/ca-bundle.crt with update-ca-trust.
However, since any package that include core/cacerts will use the bundled ca-bundle, any updates to the system ca-bundle will be ignored.
As a short-term work around, we've been adding our certs to the core/cabundle once it's been deployed, e.g.:
I think this is actually possible to accomplish with an install hook today without any rust feature development.
I need to run Habitat in an environment with an on-prem builder, custom CA certs, and no internet access. Here's what I imagine this would look like if core/cacerts implemented an install hook for patching the CA bundle:
Hello,
We use an internal CA for generating SSL certs. To enable an instance to trust SSL signed with our internal CA we generally update our
/etc/ssl/certs/ca-bundle.crt
withupdate-ca-trust
.However, since any package that include
core/cacerts
will use the bundled ca-bundle, any updates to the system ca-bundle will be ignored.As a short-term work around, we've been adding our certs to the
core/cabundle
once it's been deployed, e.g.:cat my_cert.pem >> $(hab pkg path core/cacerts)/ssl/cert.pem
Which works well, until
cacerts
is updated.What would be really nice, is to be able to create a
/hab/user/cacerts/config/user.toml
and add my certs there, e.g.:But as
cacerts
is a binary package, I don't think it will honor any settings indefault.toml
/user.toml
...?So I'm really not sure how to approach this...
The text was updated successfully, but these errors were encountered: