Install SSL on cPanel with One IP Address This article goes over installing an SSL on a WHM or cPanel server with only one IP address. If you need to have more than one SSL, you will need to order a block of IP addresses from Hosting.com. However if you only have one site and one SSL, this article will assist you in installing the SSL.
'"
n".self::process_list_items("'.str_replace('
', '', '
- From WHM, choose Install a SSL Certificate and Setup the Domain.
- Change the username to nobody before you submit the form, be sure to include the key, cert, and CA intermediates.
- Run these commands via SSH. Replace username with the account's username, and domain.com with the correct domain name from the SSL certificate.
cd /var/cpanel/userdata
mv nobody/domain.com_SSL* username/
replace nobody username -- username/* - Edit the file /var/cpanel/userdata/main and remove the line with the domain name you're setting up the SSL for. It should be under sub_domains.
- Run these commands via SSH (note: the command may be /scripts/rebuildhttpconf instead)
/scripts/rebuildhttpdconf[/li][/list]
/etc/init.d/httpd restart - From WHM choose Manage SSL Hosts.
- Select the domain from the pulldown menu and click Share.
- If mod_php is being used with with open_basedir, and/or mod_userdir is enabled, exclude the domain under PHP open_basedir Tweak, or Apache mod_userdir Tweak as needed so the other sites can use that SSL too.
').'")."n[/list type=decimal]"'