HTTPS HttpListener

I need to setup an HTTPS server on localhost that doesn’t show a browser security exception.

[Sails docs]

First, I added an entry to the Windows hosts file: (C:\Windows\System32\drivers\etc\hosts)

127.0.0.1 chromasdk.io # Chroma SDK lighting

And then restart the browser.

Browse the server/port [HTTPS chromasdk.io:8443] which should proxy to [HTTP localhost:54235/razer/chromasdk].

[NodeJS Training]

Install the [Atom] Editor.

[NodeJS Express over HTTPS]

And it works!

I had to register a valid domain and then [order a trusted certificate] for that domain to avoid the browser security warning.