Test and Debug Unity WebGL applications using Https

Published: 07 July 2025
on channel: 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"
}
}


On this page of the site you can watch the video online Test and Debug Unity WebGL applications using Https with a duration of hours minute second in good quality, which was uploaded by the user Dimitrios Christopoulos 07 July 2025, share the link with friends and acquaintances, this video has already been watched 80 times on youtube and it was liked by 3 viewers. Enjoy your viewing!