At work we run behind a Firewall, thus for any Software we use we need to tell it to trust in the self signed certificate issued by the Firewall provider.
So the Firewall does the https termination, inspects the request content with an anti-virus software, and if no virus is found it will re-encrypt the request with a self signed certificate and sends the request to the intended destination in our internal network, aka our computer, that have the Firewall self signed certificate installed in the trusted store of the operating system and in the trusted store of each software we use, that does not use the operating system trusted store.
Normally I am able to find the solution in Google, but for Elixir and Mix I am not finding it… So does Elixir, Mix or Erlang provide an option to add a self signed certificate to their trusted store, just like in Python or Node?
What I am not looking for:
how to disable TLS checking in git, mix or any other place, because that would defeat the purpose of having a Firewall at work.
How to setup the proxy environment variables, because we are not using one.
Unfortunately in that case, you have to wait until the linked feature is implemented or have your business contribute to it. The hex team is always happy to help and give guidance to anyone that is willing to contribute.
That’s what sounds like the security issue though, it’s a single point of failure on a single certificate that exists in a machine on the internal network, if it was broken in to then everything can be taken over with relative ease then.
I haven’t seen any with viruses, only things like blockchain miners and so forth. But then again nothing node is run in production here, very little is run in production and each runs within their own VM, and dev things are run in docker, including compilation.
Having a single certificate actually stored on a local system that has access to everything sounds absolutely horrifying, I’m not sure how that could be considered secure…
The certificate does not open doors to anything in the office, only encrypts communication between the Firewall and the browser on each computer inside the network, and if you change the certificate in the Firewall you need to replace it in all computers, otherwise the browser will not trust the connection.
So do you really think that third party certificates are more trustworthy? Just search google for certificate authorities compromised or certificate authorities misuse, and then if you will see why is important in a corporate office environment to guarantee the security in edge of the network serving it.
If you ask me if is bullet proof, I will tell you immediately, that is not, but is more secure to have a Firewall inspecting the traffic, then not having one.
Now if you ask me if is easy to live with, I will tell you immediately that is not… indeed is hard, because each software maker loves to ship its own certificated trusted store, and to make it worse, lots of them don’t give an option to add certificate authorities to it, or make it to hard, and in the end the first solution presented by them to overcome the limitation is to add a flag to disable certificate validation… really!!!
If an attacker gets inside the office network, the Firewall certificate is the last of my concerns, because he already had access to much more important things.
Anyway the Firewall is only the first line of defense, other measures are in place, and the last one is Anti virus running in the PC, that for my surprise even caught stuff inside Docker containers
We need to use Node to build demos in order developers using it can use our Security product, but just to be clear we are talking about an office network, not the cloud network where we run our production stuff.