-
Notifications
You must be signed in to change notification settings - Fork 437
Description
Hi,
is there a way for an end user to globally add a ca certificate (without editing the code of an application)?
I don't know erlang / elixr but I have an app I want to get working. Basically I have a docker image and have updated the system certs (/etc/ssl/certs/ca-certificates.crt) and also set the SSL_CERT_FILE env variable. However, this had no effect.
Looking at the error message, there seems to be the HTTPoison module involved, which, if I understand this correctly, uses hackney for SSL stuff.
Looking at the README I have also tried manually patching the /opt/accent/lib/certifi-2.15.0/priv/cacerts.pem file, but this also had no effect. Do I undestand the certifi_pt correctly, that it injects the cacerts.pem at compile time into the module?
So, is there some way as an end-user to globally add a ca cert without having to ask every single library and application to add support for manually specifying a custom ca cert bundle?