Hey all,
I'm trying to develop a jackbox like game where you run an application on your computer and connect to it (via websockets) from a hosted website.
I had it all working locally okay however when I hosted the 'controller' it would only connect from the same machine as the 'game' was running on. i.e. Game running on my PC, open browser on my pc and can connect, open browser on my phone or laptop and cannot connect.
From some googling I believe the issue is that I was using unsecure websockets (ws) and needed to use secured websockets (wss) since the hosted controller was on https. See: https://forum.godotengine.org/t/problems-with-websockets-and-html5-export/12451
So I made a self signed certificate and private key to attach to my server using openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem from https://stackoverflow.com/questions/50625283/how-to-install-openssl-in-windows-10
However looking at https://docs.godotengine.org/en/stable/classes/class_tlsoptions.html I'm not sure what to pass through to the client tls options? I just put in the same cert file I gave to the server but it doesn't work.
Anyone have an idea?
ℹ Attention Topic was automatically imported from the old Question2Answer platform. 👤 Asked By ZedPoirier Hey there I’ve trying to sort this out for a while now and hoping someone can help. The Goal: To have multiple HTML5 players (hosted on itch.io) connecting to a single windows app as the server/host player. This will be an assymetrical...
I have a question about how and what is the version of OpenSSl that I must install in Windows to later create certificates.
Install a one version (openssl-1.0.2d-fips-2.0.10) found in SourceForge b...
Inherits: RefCounted< Object TLS configuration for clients and servers. Description: TLSOptions abstracts the configuration options for the StreamPeerTLS and PacketPeerDTLS classes. Objects of this...