Gilles Bogaert - Apr 2, 2017:
Hi Everyone,
Sorry to re-open this thread, but I was not sure where else to ask my question.
I have the following configuration: my website on one server with its own external IP and the CS server on another server with another IP.
In order to secure the transmission between the two, I would like to use SSL tcp. I read the manual regarding the CS server. I understood from the manual that the local encryption is not native, but does the CS server accepts SSL TCP? I tried but was not successful.
Is there another way to protect the content of the transmission?
Thanks a lot for your help!
Gilles
To answer your question Gilles:
The Chatscript server is a TCP socket only server - and doesn’t have support for ssl. I would imagine you would have to do two things:
1) Wrap the tcp in some proxy service that adds ssl and configure your network and/or firewall to ensure the chatscript tcp port can’t be reached directly by the client. Here is one description of how to do that using NGIX:
https://www.nginx.com/resources/admin-guide/tcp-load-balancing/
plus this:
https://www.nginx.com/resources/admin-guide/nginx-tcp-ssl-termination/.
There are many other ways to do this, like stunnel, or various wrappers, etc. I’m just posting an example that doesn’t require hacking and recompiling chatscript.
2) write a client that supports ssl to connect to it.