Categories

Monday 21 January 2013

ssl cert + 500 internal server error after installing shared SSL

Hello,

  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 (domain.com 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:





/scripts/rebuildhttpdconf
/etc/init.d/httpd restart


Regards



No comments:

Post a Comment

Ad