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

hutting

Registered
Feb 24, 2013
2
0
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!
 
Last edited:

hutting

Registered
Feb 24, 2013
2
0
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.