I am trying to create a client-server architecture application in a private local area network. I plan to use HTTPS as the protocol between the client and server. Is it possible for me to use HTTPS in a private network without internet connection?


2 Answers 2


Yes. Is there any reason you think this wouldn't work?

  • Most of the applications I've read that uses HTTPS are websites (internet). I was wondering if I can also create HTTPS on lan (without internet).
    – No Limits
    Mar 15, 2017 at 14:50

Alternatively to a private CA, if you don't require a great level of secrecy, you can use let's encrypt to issue certificates and use them locally. Your options for this might be:

  1. Port forward 80 in your router to your local server;
  2. Public a DNS TXT record temporarily so they can validate domain ownership and issue the certificates.

Let's imagine you've the domain example.org, you might want to have a server in your network with the subdomain server.example.org for internal usage only / inaccessible from the internet / no A record for that subdomain.

You can publish a DNS TXT record to your domain DNS server with the let's encrypt validation challenge, run the certificate request and then remove the TXT record once you get the certificate in your server. It will work and only expose the "for internal usage only" subdomain for a few minutes.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .