Author Topic: SSL service not running  (Read 12553 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SSL service not running
« 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?

Offline
*
Re: SSL service not running
« Reply #1 on: January 26, 2016, 04:29:55 AM »
Here is the apache config file /usr/local/apache/conf.d/vhosts-ssl.conf

Code: [Select]

# 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

Offline
*
Re: SSL service not running
« Reply #2 on: January 26, 2016, 04:48:58 AM »
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.

Offline
*
Re: SSL service not running
« Reply #3 on: January 27, 2016, 11:37:11 AM »
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

Code: [Select]
grep ^Listen /usr/local/apache/conf/httpd.conf
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services