Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Similar Threads - Stunnel Websockets Cpanel
  1. ChrisjV
    Replies:
    5
    Views:
    751

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice