Godot Version
4.3
Question
I’m creating a multiplayer web game using WebSocketMultiplayerPeer
.
I want the browser to act as a client and connect to the server.
There aren’t any central servers and the player would need to run the server by themselves on a computer.
It seems like it is impossible to connect to a server from the web browser by using ws://
instead of wss://
which means the server would need a valid certificate.
So normally, for every player, they would need to get a certificate to run the server. I don’t think that’s a great idea.
Is it possible to use one certificate and override something like common_name
so it can be able to connect to any server instead of getting another certificate.
(I saw something called common_name_override
in the function TLSOptions.client
Would that work?)