S
S
superivankorolev2016-05-18 13:41:44
JavaScript
superivankorolev, 2016-05-18 13:41:44

Give advice on how to properly encrypt TCP in my case?

We have a master server and many gateways. We have a master, and clients have gateways.
I decided not to invent my own protocol and took the json-socket module, which conveniently knows how to transfer JSON over tcp.
The problem is that clients need data security (data is not very valuable, but you can not allow someone to infiltrate and send their command to the gateway).
How to encrypt data and with what?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2016-05-18
@superivankorolev

TLS ?

E
Egor Kazantsev, 2016-05-18
@saintbyte

Drop this perversion. Websocket to help you. In general, I really want to try playing with nginx or stunnel

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question