Friday, March 22, 2013

ssl cert + 500 internal server error after installing shared SSL


  If you have installed shared SSL on the server using the user as nobody and domain is loading as internal server error in https .then do the following.

Go to /var/cpanel/userdata/nobody to see if the cert is there by domain.com_SSL ( being your domain's name) name. If it is, then move it to /var/cpanel/userdata/user (where user is the cPanel username of the right user). Open up the domain.com_SSL file and change the following in that file:

documentroot: /home/user/public_html
group: user
homedir: /home/user
user: user
Replacing user with the username for each one. Of note, these are not 
the only lines in the file, they are just the lines you need to change 
in that file.

If the account is a reseller and not owned by root, you will also need to change owner: root to owner: user.

Please also check the ip: field has the right IP listed. 

After making all the changes, then run these commands to rebuild Apache with the new entries and get it restarted:

/etc/init.d/httpd restart

No comments:

Post a Comment