D:\home\test-elm>curl http://package.elm-lang.org
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 194 100 194 0 0 1031 0 --:--:-- --:--:-- --:--:-- 1127<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>
The messages says the system doesn’t know the CA. Certificate is issued by Let’s encrypt and the chain looks fine. Do you have issues with other websites using let’s encrypt?
The response says permanently moved, not sure but I heard, that the page side seems to be blocked from countries like russia etc. maybe that’s affecting you too?
Thank you @andys8 for the pointer. After writing the first post, I tried to get it working by installing certificates on the system, so cannot answer your question for the past setup anymore. Looks like I got it working by installing a certificate. I downloaded the certificate from package.elm-lang.org and added it as a Public Certificate to the Azure app.
I used the export UI of the chrome browser to get a .cer file for a certificate on the path displayed in the chrome browser (I took the DST Root CA X3 from the root)
But at first, the elm make command still displayed the certificate has unknown CA error.
Yesterday, it was too late to continue investigating, and now after coming back it works, elm make produces the output file. I don’t know what happened in the meantime, maybe the host system was restarted.