Help - Search - Members - Calendar
Full Version: Https not working....
The Planet Forums > Control Panels > cPanel/WHM
semper0304
Hello,
https is not working on my server. I installed a cert yesterday for a domain and it is not working. I have rebuilt apache to see if that would help and it didn't. icon_sad.gif

I saw a post on these forums that said somehitng about having to install certs twice on RHE. I have tried that also... no go. Any thoughts/help with this issue would be greatly appreciated. TIA

Ryan
Imago
Restart cPanel

/etc/rc.d/init.d/cpanel restart
semper0304
Thanks for the reply. Unfortunately that did not help. icon_sad.gif
damainman
You need to Stop http, and restart http with ssl enabled while loged into shell.

- Stop Apache:
/etc/rc.d/init.d/httpd stop

- Start apache with ssl enabled:
/usr/local/apache/bin/apachectl startssl


* Also cpanel has a configuration that makes sure httpd always starts with ssl which you will also run from shell.

/scripts/initsslhttpd
semper0304
Thanks. That didn't seem to help either.
damainman
Do you have a hardware firewall?, have you looked inside you httpd.conf file to make sure the ssl is configured correctly?
semper0304
QUOTE
Do you have a hardware firewall?


Yes, but it doesn't cause trouble with other SSL sites. I am able to get to my WHM/cPanel securely.

QUOTE
have you looked inside you httpd.conf file to make sure the ssl is configured correctly?


Is there something specific I should be looking for? As far as I can tell everything look normal. Here is the VirtualHost entry for the domain:

<VirtualHost xxx.xxx.xxx.xxx:443>
ServerAdmin webmaster@www.domain.com
DocumentRoot /home/username/public_html
ServerName www.domain.com
CustomLog /usr/local/apache/domlogs/www.domain.com-ssl_log "%t %{version}c %{cipher}c %{clientcert}c"
User username
Group username
SSLEnable
SSLCertificateFile /usr/share/ssl/certs/www.domain.com.crt
SSLCertificateKeyFile /usr/share/ssl/private/www.domain.com.key
SSLCACertificateFile /usr/share/ssl/certs/www.domain.com.cabundle
SSLLogFile /var/log/www.domain.com
UserDir public_html
ScriptAlias /cgi-bin/ /home/username/public_html/cgi-bin/
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>
semper0304
I got it to work. I commented out the cabundle part of the VirtualHost entry

SSLCACertificateFile /usr/share/ssl/certs/www.domain.com.cabundle

Thanks to all who replied!!
damainman
QUOTE (semper0304)
QUOTE
Do you have a hardware firewall?


Yes, but it doesn't cause trouble with other SSL sites. I am able to get to my WHM/cPanel securely.



The reason i asked was because acouple of times WHM created the SSL entry in httpd.conf with the public IP, instead of the Private IP used for the firewall. The httpd.conf needs the private IP for it to work properly.. well atleast on my servers.. but glad u got it working.
denvercg
Hello
I have tried to load WHM via SSL(https://) without success. I always get the "page not found error". Cpanel individual accounts does not work via https. I have loaded the key in the server.key file, csr in the server.csr and crt in the server.crt. I use WHMautopilot to create new account, https load fine but no pictures. I know that ssl use port 443 for secure data, and the non secure data is loaded via port 80. Does someone has any clue as how to fix these two problems?
Thank you.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.