If e.g. following the quick start guide, the application front-end is accessible as
http://127.0.0.1:8000/?canisterId=cxeji-wacaa-aaaaa-aaaaa-aaaaa-aaaaa-aaaaa-q
Accordingly sudo netstat -tnlp
shows
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:36585 0.0.0.0:* LISTEN 1228/replica
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 1224/dfx
tcp 0 0 0.0.0.0:37633 0.0.0.0:* LISTEN 1228/replica
tcp6 0 0 :::37703 :::* LISTEN 1228/replica
Now it seems to be reasonable that users want to run the dfx
process behind SSL/TLS. I understand this would require dfx
to create an HTTPS server in addition to, or instead of, the HTTP server.
I guess that’s already supported, but couldn’t find anything in the documentation on how to configured this; please advise. Thanks.