Stunnel , Websockets and Cpanel (React)
Hello, I'm the owner of one VPS with cPanel and I have some problems implementing WebSockets under SSL(because we have Apache and we don't realy want to migrate to Nginx right now).
The problem is I need to add new lines in stunnel.conf
After research I found stunnel configuration file in /usr/local/cpanel/etc/stunnel/default/ and I added the lines. Then then I run /usr/local/cpanel/etc/init/startstunnel with next output:
And then I run service cpanel status with next output:
[websockets]
accept = 8443
connect = 8888
After research I found stunnel configuration file in /usr/local/cpanel/etc/stunnel/default/ and I added the lines. Then then I run /usr/local/cpanel/etc/init/startstunnel with next output:
Waiting for (?^:^(?:stunnel$|stunnel-[0-9\.]+local)) to shutdown ... not running.
Using Native SSL support (stunnel not needed)And then I run service cpanel status with next output:
cpsrvd (pid 21216) is running...
entropychat is stopped
stunnel is stopped
-
Hello :) You could disable the following option under the "System" tab in "WHM Home " Server Configuration " Tweak Settings": "SSL Support for cPanel daemons (no stunnel)" Thank you. 0
Please sign in to leave a comment.
Comments
1 comment