And I could follow through, but I have a much simpler setup and I don't want to run a node app. I simply have an html file and I run https://www.npmjs.com/package/serve
to serve it.
Is there a way to include an ssl certificate with such a simple setup?
Also - the reason why I am doing this, is because I want to access a mobile devices deviceorientation. Unfortunately you have to run on https to get some values...
In my case I call my localhost server via the IP in the network, like:
http://192.168.1.11:5000
Of course this should be https.
Even if I got to run your way of having a valid certificate for localhost, would that also be valid for http://192.168.1.11:5000?
Thanks for some clarification. Sorry, I am really not at home with the whole certificate stuff, I just want to run a simple server to execute the most simple javascript... Hach, how darn complicated has the web world become 😅....
Hi there I just came from reading: https://www.freecodecamp.org/news/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec/
And I could follow through, but I have a much simpler setup and I don't want to run a node app. I simply have an html file and I run https://www.npmjs.com/package/serve
to serve it. Is there a way to include an ssl certificate with such a simple setup?
Also - the reason why I am doing this, is because I want to access a mobile devices
deviceorientation
. Unfortunately you have to run on https to get some values... In my case I call mylocalhost
server via the IP in the network, like: http://192.168.1.11:5000Of course this should be https. Even if I got to run your way of having a valid certificate for localhost, would that also be valid for http://192.168.1.11:5000?
Thanks for some clarification. Sorry, I am really not at home with the whole certificate stuff, I just want to run a simple server to execute the most simple javascript... Hach, how darn complicated has the web world become 😅....