The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Stunnel , Websockets and Cpanel (React)

Discussion in 'General Discussion' started by Fedot Serghei, Feb 2, 2015.

  1. Fedot Serghei

    Fedot Serghei Registered

    Joined:
    Feb 2, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bucharest, Romania, Romania
    cPanel Access Level:
    Root Administrator
    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
    Code:
    [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:
    Code:
    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:

    Code:
    cpsrvd (pid 21216) is running...
    entropychat is stopped
    [B]stunnel is stopped[/B]
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page