Asking here because I have scoured the web and haven't found a tutorial that is simple enough for me to understand. I am trying to create a local web server with https so that I can access the camera stream from my phone. For my web server I am using Node.js on a windows machine. I am accessing my web server from my phone using my computers local IP address. I don't have a domain name. I'm not trying to make a fully fledged website, just a demo for a hackathon.
I have tried LetsEncrypt but during the setup for win-acme, it asks for stuff like what kind of certificate I want to create and what is the web root, and I'm not sure what to put there (localhost? my ip address?). When I try to follow the instructions on this SO question, I tried the command
New-SelfSignedCertificate -DnsName "localhost" -CertStoreLocation "cert:\LocalMachine\My"
but I don't know where the .key
and .crt
files went. Can anybody provide a simple and easy to understand tutorial on what to do? This is my second time running into this problem and it seems like nobody around me knows how to solve it either.