Control Web Panel
WebPanel => SSL => Topic started by: abubin on January 26, 2016, 04:14:01 AM
-
I have purchased and installed SSL cert successfully on a virtualhost site. Apache also can be restarts without errors. However, I cannot go to the website in SSL. I checked the server and port 443 is not even running.
I think SSL is not running but how do I get it running?
-
Here is the apache config file /usr/local/apache/conf.d/vhosts-ssl.conf
# vhost_start mydomain.com
<VirtualHost 192.168.1.10:443>
ServerName mydomain.com
ServerAlias www.mydomain.com
DocumentRoot /home/mydomain/public_html
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/mydomain.com.cert
SSLCertificateKeyFile /etc/pki/tls/private/mydomain.com.key
SSLCertificateChainFile /etc/pki/tls/certs/mydomain.com.bundle
<IfModule mod_suexec.c>
SuexecUserGroup mydomain mydomain
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup mydomain mydomain
suPHP_ConfigPath /home/mydomain
</IfModule>
<Directory "/home/mydomain/public_html">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end mydomain.com
-
i found a solution...i have to enable the httpd-ssl.conf to get it working.
But when I enable that, I get some error on non-existing SSL cert. I just pointed it to correct path and all is working now!! Yeah...
Seriously, this is supposed to be centos web panel. This kind of thing need to be automated. There should be an option in apache or virtualhost somewhere to enable/disable SSL.
-
have you checked in the apache configuration is apache is listening on the port 443 and how did you do the installation of ssl ?
httpd.conf
/usr/local/apache/conf/httpd.conf
grep ^Listen /usr/local/apache/conf/httpd.conf