I’m running the gateway on a Raspberry Pi. I created a certificate.pem and privatekey.pem and copied to /home/pi/.mozilla-iot/ssl
I did have to strip the passphrase from the private key as it was causing failures, seen in /var/log/daemon.log
However, now there are no failures logged, but I can’t connect using https on 443 or 4443
when I ssh to the rasberry, ss -tulw shows that there is a listener on http-alt (8080) but nothing on 4443 or 443
I know that somehow my connection on port 80 is mapped to 8080 but a bit stuck. Any advice?
When you browse to http://gateway.local, are you still on the domain setup page? If so, you’ll need to click the Skip button. The SSL server will not be set up until you are past that point.
Also, just FYI, the 80->8080 and 443->4443 redirection is done via iptables rules.
I have the gateway fully set up and running, with several lights set up. When I connect via http://gateway.local all works correctly. However, When I connect via https://gateway.local, there’s no listener.
How do I get the https or ‘https-alt’ listener running.
The gateway has been running for several weeks and the log from the setup date appears to be no longer available. But there are interesting logs are in daemon.log from the Rasberry Pi - there does not appear to be anything incriminating there
So the sequence was I setup the gateway, skipping subdomain.
some weeks later
Added certificate.pem and privatekey.pem
gateway crashed
fiddled around to strip the passphrase from the key and set the correct owner/group/permissions - gateway crashed several more times
got the permissions correct, gateway started.
currently, http is running but https is not