I set up a simple websocket using socketio and node today however when i try to connect over secure protocol i get SSL Handshake failed
When i played around with websockets before i remember having to add the certificate in the socket server config but now im using cloudflares free shared ssl how do i set up the socket?
here is how im setting up the server:
var server = require('https').createServer(app); var io = require('socket.io').listen(server); server.listen(2053);
what am i doing wrong?