REQUIRE: - We make tutorial base on CentOS repository, if your server is other environment, please check  for more information.

For more infomaton about configuration of Stunnel, please following


Required: Log in into SSH root and perform the below steps

01. Install Stunnel by yum with command: yum install stunnel

02. After install successfully, create configuration file and put in /etc/stunnel/stunnel.conf (You can put other place for your preferences)

03. Details of configuration file is below:

sslVersion = all
options = NO_SSLv2
cert = path/to/cert_file
CApath = path/to/folder_ssl
CAfile = path/to/cacert_file
key = path/to/key_file
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 7
output = /var/log/stunnel.log
accept = which getting from AdminCP > Apps > Social Chat > Settings > Stunnel Port>
connect = which getting from AdminCP > Apps > Social Chat > Settings > Web Socket Port>
TIMEOUTclose = 0

04. Execute command stunnel /etc/stunnel/stunnel.conf Congratulations! You finished the setup process.

February 9, 2018
Category: Social Chat