Your socket server is not using SSL. First, add the secure parameter to your client (maybe redundant with the https but SSL+socket.io does weird stuff sometimes): var socket = io.connect('https://localhost', {secure: true}); Then, you need your socket to be secure too : var private...
Error Domain=NSURLErrorDomain Code=-1200"An SSL error has occurred and a secure connection to the server cannot be made."UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?,_kCFStreamErrorDomainKey=3,NSErrorPeerCertificateChainKey=("<cert(0x7f86d2017400) s: A...