HTTPS giving internal error, SSL cert installed correctly?

Reply

Join Date: Mar 2008
Posts: 78
Reputation: rickya100 is an unknown quantity at this point 
Solved Threads: 1
rickya100 rickya100 is offline Offline
Junior Poster in Training

HTTPS giving internal error, SSL cert installed correctly?

 
0
  #1
Sep 22nd, 2009
Hi everyone,

I am not a server guru but have had to setup a dedicated server for a new website. Everything is going except that when I try to connect to it via HTTPS connection I get a 500 internal error page which basically means I don't know what is causing the problem.

HTTP connection is fine and working but since the site will be processing payment information we need the HTTPS connection.

The server is running on CentOS with me using cPanel 11 to admin it. The only solution that I have possible come across involves the httpd.conf file for apache. The solution says to add this

<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>

Although using cPanel I'm not sure where (preMain, preVirtual, postVirtual) to add this or if I shoudl even be adding it.

Can anyone shed any light on this?

Thanks guys,

Richard
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 464
Reputation: khess is on a distinguished road 
Solved Threads: 8
Staff Writer
khess's Avatar
khess khess is online now Online
Staff Writer

Re: HTTPS giving internal error, SSL cert installed correctly?

 
0
  #2
Sep 22nd, 2009
It won't work correctly unless you have some things in your apache config for that site:

SSLEnable
KeyFile /path/to/key.kdb
SSLServerCert www.yoursite.com
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 78
Reputation: rickya100 is an unknown quantity at this point 
Solved Threads: 1
rickya100 rickya100 is offline Offline
Junior Poster in Training

Re: HTTPS giving internal error, SSL cert installed correctly?

 
0
  #3
Sep 23rd, 2009
Hey khess,

Thanks for reply. I don't have a .kdb file anywhere that I see. When researching this I keep seeing it in relation to a IBM server. Since I'm running on centOS and am using cPanel do I need this?

Many thanks again,

Richard
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 78
Reputation: rickya100 is an unknown quantity at this point 
Solved Threads: 1
rickya100 rickya100 is offline Offline
Junior Poster in Training

Re: HTTPS giving internal error, SSL cert installed correctly?

 
0
  #4
Sep 23rd, 2009
Thought I'd include the server details that are appended to the bottom of the 500 internal error page

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at domain.co.uk Port 443
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,187
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 571
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: HTTPS giving internal error, SSL cert installed correctly?

 
0
  #5
Sep 23rd, 2009
Can you check your logs in /var/log? The httpd might be throwing errors in messages or syslog, and the error_log for apache might give you more information as well.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 78
Reputation: rickya100 is an unknown quantity at this point 
Solved Threads: 1
rickya100 rickya100 is offline Offline
Junior Poster in Training

Re: HTTPS giving internal error, SSL cert installed correctly?

 
0
  #6
Sep 23rd, 2009
Hey sknake,

I've had a look at the error logs through cPanel and can't see anything about apache, it's all just missing files that I haven't fixed yet such as graphics references from CSS files.

I did notice however that these errors only show up when I load the site using http. nothing shows up in the cPanel error log when I try and load the site over https.

I can't find (via FTP or cPanel file manager) the location of my httpd.config file. All the locations on the web aren't there when I look at the server. Where would I find the apache error log?

Here's my server structure from the root

/access-logs
/etc
/etc/ftpquota
/mail
/public_ftp
/public_html
/tmp
/tmp/analog
/tmp/awstats
/tmp/cpbandwidth
/tmp/webalizer
/tmp/webalizerftp
/www


I have seen a few things about editing the httpd.conf file but I can't even find it to access it and I don't want to use the cPanel apache editing page as I don't know where to put the new stuff into on it.

Any ideas you have would be greatly appreciated!


Thanks,

Richard
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 14
Reputation: Point Red is an unknown quantity at this point 
Solved Threads: 1
Point Red Point Red is offline Offline
Newbie Poster

Re: HTTPS giving internal error, SSL cert installed correctly?

 
0
  #7
Sep 30th, 2009
Do you have root permission of your dedicated server?
Your dir info is looks like a chrooted.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 46
Reputation: xav.vijay is an unknown quantity at this point 
Solved Threads: 6
xav.vijay's Avatar
xav.vijay xav.vijay is offline Offline
Light Poster

Re: HTTPS giving internal error, SSL cert installed correctly?

 
0
  #8
Sep 30th, 2009
Did u create a certificate file and key file?

Did u add them to ur httpd.conf, and mark the https port directive to this certificate??
Reply With Quote Quick reply to this message  
Reply

Tags
apache, cpanel, server

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC