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.

Shared UCC SSL causing "nobody" ownership issues between https and http

Discussion in 'General Discussion' started by hutting, Feb 24, 2013.

  1. hutting

    hutting Registered

    Joined:
    Feb 24, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hi there,
    This may be a complicated problem to explain but I've spent hours with it and no solution. So any help would be amazing!
    I have a GoDaddy UCC SSL certificate. It allows me to have several domains under the same certificate on the same IP, when I install this in cPanel it says it has to have the owner "nobody".
    I modified the virtual hosts through the following tutorial /http://www.daftspunk.com/code/how-to-set-up-godaddys-ucc-ssl-using-cpanel-whm.html to make them share the same certificate and for the root directories of the https side to be the same as the http ones.

    Sadly when I run PHP in suPHP I get a 500 internal server error (no idea what's happening here), and when I change to CGI mode it works but gives me lots of permission errors (session_start particularly) as when you're on the https version it creates a session with nobody as the owner, and when you're on the http version the owner is whatever the site owner is. The site requires users to flick between them, so when they browse they are on "http" and when they go to checkout or login it takes them to the form on the https.

    I can't install the certificate without making the owner "nobody" and I can't set "nobody" to be the site owner for the domains under the SSL. (pardon me) aaaaarrrrggghhh!! Is there a way to either have the session files with two owners, or chown() the sessions when you try to access them from the https/http?

    Haha any and all help would be greatly appreciated as I'm so confused now!
     
    #1 hutting, Feb 24, 2013
    Last edited: Feb 24, 2013
  2. hutting

    hutting Registered

    Joined:
    Feb 24, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Righto, quick update. The wonderful guys at cPanel managed to sort this out for me.
    The fix was to make sure that PHP was running in suPHP mode (rather than CGI) and fixing suPHP's 500 error by running easy apache.
    Once this was done I was able to change the
    Code:
    suPHP_UserGroup nobody nobody
    declarations in the Virtualhost includes to be
    Code:
    suPHP_UserGroup [I]siteuser siteuser[/I]
    I hope this helps someone in the future working with GoDaddy's UCC SSL certificates.
     
Loading...

Share This Page