Installing erlang via asdf on Ubuntu fails after "Downloading kerl"

First I tried adding the company certificates to my ssl permissions as described in this post:

However, even after that, it didn’t work. So I eventually decided to go with the risky option, which was to use the ~/.curlrc as you mentioned.

https://ec.haxx.se/cmdline/cmdline-configfile#default-config-file

After setting up this file and adding the -k option in it, it worked. I can now finally install the elixir and erlang versions I need to work.

It should be noted, as @NobbZ mentioned, this is a risk. In fact, this is a workaround and not really a solution.

However, for the time being, I will happily take it.