sampleuser
sampleuser

Reputation: 320

How to enable https for access within local network?

I have a little server in my local network running some web services, pihole and a nextcloud instance. All services are available via http only and it would be nice if I could switch to https instead, i.e. add encryption.

All the instructions I found in the internet assume that the server is available through the internet and that one wants to encrypt this connection. But I definitely don't want to have the server exposed to the internet.

Could someone maybe share a tutorial or so on how to do this? Thanks in advance!

Upvotes: 5

Views: 3280

Answers (1)

hafizur046
hafizur046

Reputation: 346

You would have to create a self-signed SSL certificate and install that on your devices to achieve HTTPS Steps would be:

  • create a self-signed certificate, you may follow this guide
  • Install the certificate on your devices
  • Configure your webserver to use this certificate, (it will vary depending on what web server you use)

Upvotes: 5

Related Questions