Deploying an online WebGL Game on Github Pages

Hello all!

I’m new to this community and was wondering what the recommended steps are to deploy an online WebGL game on Github Pages. From my understanding, Github Pages is automatically set to https protocol and for websocket communication to work properly, the websocket protocol needs to be secured. I’ve developed a game on Unity using Mirror Networking and from their documentation, the Websocket Transport component requires a Certificate Path and a Certificate password (

Currently my game is deployed on and the server is hosted using AWS EC2 Windows Server. Whenever I try to connect to the server, I get this following error in the browser’s console (short error): SecurityError: The operation is insecure.

Is it possible to request for the SSL cert information in order to get my game to work online publically over WebGL? If not, what would be some good alternatives to get the game running on Github Pages?

Any help would be appreciated. Thanks in advance!