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.

HTTPS Not working, FreeBSD

Discussion in 'General Discussion' started by netnexi, Jul 19, 2004.

  1. netnexi

    netnexi Member

    Joined:
    Dec 9, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hi well I have I have searched here and other forums, and tried to do what I can, but for some reason HTTPS no longer works, it just "stopped" yesterday...

    I have restarted Apache, recompiled Apache, changed WHM verisons etc, checked various logs...

    I am running WHM 9.4.0 cPanel 9.4.1-C72, FreeBSD 5.2.1-RELEASE-p8 - WHM X

    When I first got this server set up there was a bug in Cpanel not creating the stunnel folder in var for FreeBSD, however that folder is now there, and chowned appropriately, so I dont think it is that.

    Any suggestions?
     
  2. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Did you try start the ssl alone?

    /usr/local/apache/bin/startssl

    if it says it is running, kill the PID#
    then run the command above again.
     
  3. netnexi

    netnexi Member

    Joined:
    Dec 9, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    hi i tried /usr/local/apache/bin/startssl
    and i get command not found

    which is strange because SSL is compiled into apache?
     
  4. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Duh....My bad :rolleyes:

    Here is the command

    /usr/local/apache/bin/apachectl startssl
     
    #4 easyhoster1, Jul 19, 2004
    Last edited: Jul 19, 2004
  5. netnexi

    netnexi Member

    Joined:
    Dec 9, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    hi yeah sorry have tried that before...
    and have just tried again...

    httpd starts successfully, but still no resposne on HTTPS
     
  6. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Any firewall on there? Is port 443 open. Also, make sure in the httpd.conf has
    the ssl directive with port 443

    <IfDefine SSL>
    <VirtualHost XX.XX.XXX.XX:443>

    See if its there, the X above represents your SSL IP#
     
  7. netnexi

    netnexi Member

    Joined:
    Dec 9, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hi no firewall...
    also this is in regard to Cpanel/WHM https, ie blah.com:2083 & blah.com:2087, I don't use HTTPS for anything else...
     
  8. netnexi

    netnexi Member

    Joined:
    Dec 9, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Anyone got any idea how I can fix loggin in via SSL ports, 2083 and 2087 etc?
    Still having no luck
     
  9. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
  10. sjackson909

    sjackson909 Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Columbus, OH
    I have seen this issue before but don't remember how I resolved it. I would first check to make sure that these ports are not open by doing a

    netstat -an | grep 2087
    netstat -an | grep 2083

    If they are open then you have other problems. also I would try a /scripts/upcp --force and then reboot and see if that helps.

    Thanks
    -Seth
     
    #10 sjackson909, Jul 21, 2004
    Last edited: Jul 21, 2004
  11. netnexi

    netnexi Member

    Joined:
    Dec 9, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hi the stunnel folder is there and is chowned as i said before, so I don't think it is that.
    doing a netstat i find that 2083 is open and listening but 2087 is not, yet neither of them respond. I've done a /scripts/upcp --force and rebooted, but it still doesnt work.

    Running out of ideas here how to fix this..
     
  12. dynaweb

    dynaweb Well-Known Member

    Joined:
    May 14, 2003
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Oregon
  13. Dillard

    Dillard Well-Known Member

    Joined:
    Feb 26, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    *bump*

    Same issue here. Just manually upgraded several FreeBSD servers to 9.7.7-R16. All servers went like a champ (except an occiasional /scripts/exim4 :) ) but on one server (now FreebSD 5.2.1., former 5.1 server) the secureports are down (2083+2087). cpsrvd is working (and serving the non-secure ports), and stunnel seemed to start normally, but then die (without a warning or error), cause no process is viewable in 'ps waux' nor the ports are bound to 2083, 2087

    Tried to manually reinstall stunnel from the ports-collection, but I'm afraid this made it only worse, as I now have no idea where to find the config-files for stunnel from Cpanel.

    Any suggestion will be greatly appreciated!
     
Loading...

Share This Page