I found a clue. I used Wireshark to listen to the network traffic while running elm-json
. I captured a Certificate Expired error. However, when I go to the website in any browser, it shows a valid certificate.
I tried to connect to https://package.elm-lang.org via the Python shell and that worked well. So somehow the OSX binary of elm-json has some issue, I guess.