Establish a DDP connection over SSL in the Meteor app
Meteor relays on SockJs, according to the SocksJs README :
From SockJS' point of view there is nothing special about SSL/HTTPS. Connecting between unencrypted and encrypted sites should work just fine.
var connection = DDP.connect("ws://127.0.0.1:3000");
If you switch from
(WebSocket Secure) if the host supports ssl it will be used. On my localhost, I don't install ssl or drop the "ws", you have to manually code it if you want.
source to share