I am working with an application that consists of Windows Services on the same server sending messages to each other over TCP. Each service is assigned a port on which it listens for messages.
I should like to encrypt this traffic to prevent it from being read (for example, with a tool such as Wireshark) and was wondering whether Stunnel would enable us to encrypt this traffic without needing to change any of the code in the product?
If we have Service B that is listening on port 17900 and Service A expects Service B to be listening on that port, is it possible to ensure that the traffic from Service A to Service B is encrypted by Stunnel? Is it even a good idea?