I am building a golang offline application for a company that will operate in their office internal Wireless / Wired Network.

There will be one server computer and many client computers communicating over the network. (They are not connected to the Internet).

How should I encrypt the HTTP communication between the clients and the server so that the data is not vulnerable to any attackers who might be snooping on the network?


1 Answer 1


Deploy the application with a digital certificate that is trusted by all of the client systems. That way, you can just use HTTPS to perform the encryption.

The best way to do this is by setting up your own internal certificate authority (CA) within the network, and then installing the root CA certificate on all the clients.

But if it's a small one off project, you could just manually install the specific certificate on the client systems.

You must log in to answer this question.

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