Enabling SSL for IP Address

  • September 12, 2021

If you are in need to have SSL with IP address, Cpanel currently does not support it

But as workaround, you can add this value in the apache configuration via WHM

1. Home »Service Configuration »Apache Configuration »Include Editor

2. In Pre VirtualHost Include, add this entry (replace the IP, cpanel path and SSL location)



DocumentRoot /home/cpanelname/public_html

SSLEngine on

SSLCertificateFile /etc/ssl/crtfilelocation.crt

SSLCertificateKeyFile /etc/ssl/privatekeylocation.key

SSLCertificateChainFile /etc/ssl/bundlekey.crt


How helpful was this article to you?

Posting has been disabled.