Test and Debug Unity WebGL applications using Https

Publié le: 07 juillet 2025
sur la chaîne: Dimitrios Christopoulos
80
3

Test and Debug Unity WebGL applications using a local Https server.
Works for Win Desktops acting as a server and for any Mobile Device (Android, IOS).

Shoutout to Makaka games that inspired me to do this post. Visit here to learn important tips and tricks about Unity WeGL testing.
https://makaka.org/unity-tutorials/we...

OpenSSL software for creating ssl certificates (Win only). Very small installers.
https://slproweb.com/products/Win32Op...

Create a Private Key with Any Password:
openssl genrsa -aes256 -out localhost.key 2048

Create the Certificate using Your Password
openssl req -days 3650 -new -newkey rsa:2048 -key localhost.key -x509 -out localhost.pem

The settings.json file
{
"liveServer.settings.port": 7777,
"liveServer.settings.https": {
"enable": true,
"cert": "C:/Users/demo/Documents/deth/build_webgl/localhost.pem",
"key": "C:/Users/demo/Documents/deth/build_webgl/localhost.key",
"passphrase": "1234"
}
}


Sur cette page du site, vous pouvez voir la vidéo en ligne Test and Debug Unity WebGL applications using Https durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Dimitrios Christopoulos 07 juillet 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 80 fois et il a aimé 3 téléspectateurs. Bon visionnage!