Hi Ian,
you might want to try the HiveMQ websocket broker for testing.
This worked for us in testing before we setup mosquitto with TLS.
You might also put a NGINX locally in front of plain websocket mosquitto, without putting any certs in mosquitto.conf, but keeping them in NGINX.
``` location /broker/ { access_log off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } ```
Greetings,
Jan
Hi Roger, thanks. Ian On 06/15/2015 01:22 PM, Roger Light wrote: Hi Ian,
No it doesn't. The websockets interface is provided by apache+mod_websocket_mosquitto, I don't know if it would be possible to have it do TLS.
Cheers,
Roger
On Mon, Jun 15, 2015 at 12:51 PM, Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Does the Mosquitto sandbox server at iot.eclipse.org have a secure (TLS) websockets port? Is that port 80 as well?
Just testing a sample, simple web application for the Paho _javascript_ client: https://www.eclipse.org/paho/clients/js/utility/index.html
-- Ian Craggs icraggs@xxxxxxxxxx IBM United Kingdom Paho Project Lead; Committer on Mosquitto
_______________________________________________ mosquitto-dev mailing list mosquitto-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
_______________________________________________ mosquitto-dev mailing list mosquitto-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
-- Ian Craggs icraggs@xxxxxxxxxx IBM United Kingdom Paho Project Lead; Committer on Mosquitto _______________________________________________ mosquitto-dev mailing list mosquitto-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
|