Bithack / principia

Open source physics-based sandbox game.
https://principia-web.se
Other
260 stars 25 forks source link

Use SNI & begin verifying HTTPS certificates #134

Open rollerozxa opened 10 months ago

rollerozxa commented 10 months ago

Currently the game doesn't verify HTTPS certificates because it doesn't use SNI to specify to the server which host it is connecting to. So when it connects to https://principia-web.se it receives the self-signed certificate on https://51.68.173.17 instead of the proper principia-web certificate signed by Let's Encrypt.

I could fiddle with my certificates on the server side, but it's better if this got fixed in the client.