Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Getting to work without node app? Running on https://192.168.1.11:5000 ? #8

Open
Jones-S opened this issue Nov 9, 2019 · 0 comments

Comments

@Jones-S
Copy link

Jones-S commented Nov 9, 2019

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 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 😅....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant