currently I use
let connectTo = "http://myip:myport";
var socket = io.connect(connectTo, {secure: true});
on client side, and
const port = myport;
const io = require('socket.io')(port);
on server side, I want to use https://
instead of http://
, how do I do that? I also heard I need a certificate thing, how do I get that? and how to set it up? cause stupid anti viruses think the socket.io is "dangerous" when it isnt.. (the client side is on my electron application)