Install SSL for vcPanel
From VcPanel Enterprise : VPS Control Panel
vcPanel web server daemon can run both http and https protocols. By default the vcPanel server comes with http only.
- The http port of vcPanel is 9966 (eg : http://your-vcpanel-control-panel-url:9966/ )
- The https port of vcPanel is 9967 (eg : https://your-control-panel-url:9967/ )
To install SSL for vcPanel please do the following steps. ssh to vcPanel master server as root and do the following
# cd /usr/local/src/ # openssl genrsa -out server.key 1024 # openssl req -new -key server.key -out vcpanel.yourdomain.com.csr # openssl x509 -req -days 1024 -in vcpanel.yourdomain.com.csr -signkey server.key -out server.crt # cp server.crt server.key /usr/local/vcpanel/conf/ -v # cd /usr/local/vcpanel/conf # cp -a vcpaneld.conf vcpaneld.conf.orig # Take a backup of vcPaneld for safety # echo ' Include "conf/extra/httpd-ssl.conf" ' >> vcpaneld.conf # /etc/init.d/vcpaneld stop # /etc/init.d/vcpaneld start
Now access the SSL url from https://your-control-panel-url:9967/
