Hi Elder, I have CentOS 7 and I want to install the Stunnel package. Please advise on how to build the stunnel service so that the stunnel can be stopped-start-status-reloaded.
Dear Samanta,
To install the stunnel package, run the command below:
sudo yum -y install stunnel
But if the packages would not be installed as a service on your server, the below commands may not work.
systemctl start stunnel systemctl stop stunnel systemctl status stunnel systemctl restart stunnel
So, use the following command to be able to run the stunnel.
stunnel /etc/stunnel/stunnel.conf
So, the stunnel.conf and stunnel.pem will be created and you should receive no error then. Now, the stunnel can listen to the related port.
Feel free to ask any more questions.
Thank you for sending this message.
+8595670151
7 days a week, 24 hours a day