Can anybody use SSL on RedHat 8.0?

Stefaans

Well-Known Member
Mar 5, 2002
461
4
318
Vancouver, Canada
I am out of ideas.

Two weeks ago SSL on our new RH8 box stopped working. Luckily no clients on their requiring SSL yet. Apache would give errors when restarting.

We (and Cpanel support) have recompiled Apache, restarted httpd, rebooted the box. Simply nothing works.

When I try to install a cert via WHM, I get:
PHP:
Attempting to verify your certificate.....
.
.
.
.
The CRT for the domain www-12.i-svr.net could not be installed.  
         Apache produced the following errors:
but it does not list the errors. Trying the httpd.conf backup file it created, once again gives errors on retarting Apache.
PHP:
Invalid command 'SSLEnable', perhaps mis-spelled or
defined by a module not included in the server configuration
I have a feeling this is a RedHat 8.0 problem. Is there anybody else out there that knows what this is about.

I am deperate to say "thank you" to the person that helps me out here :rolleyes:

cPanel.net Support Ticket Number: 17463

cPanel.net Support Ticket Number:
 

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,727
28
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
Hello,

It's me your best friend :D

I run redhat 8 on about 6 servers and have no problem with SSL, I wish I can give you more details but it's never had a problem to have to trouble shoot it.

I think the version of redhat is fine for SSL and there is a problem with your configuration.

Running /scripts/easyapache in root prompt should fix it.

good luck

cPanel.net Support Ticket Number:
 

Donna

BANNED
Feb 15, 2003
88
0
156
Toronto, Canada
I'm having the same problem, running red hat 8 on 3 out of 4 servers, out of those 3 boxes SSL is fine on 2 of them, the third however gets the same error.

Nobody has found a solution.

cPanel.net Support Ticket Number:
 

Stefaans

Well-Known Member
Mar 5, 2002
461
4
318
Vancouver, Canada
Originally posted by DWHS.net
Hello, It's me your best friend
Sometimes it takes a misunderstanding to make a new friend :D DWHS, thanks for your input.

Donna, I managed to fix the problem on our RH8 box this morning by:
* Reinstalling the mod_ssl RPM.
* Upgrading to Apache 1.3.28

Sorry, I am not sure which of the two steps fixed the problem, but SSL is working fine again :)

cPanel.net Support Ticket Number:
 

Donna

BANNED
Feb 15, 2003
88
0
156
Toronto, Canada
Well that was the first 2 things I did. Then I had the DC do it as well in case I stuffed it up.

When that all failed I had Darren from cPanel look at it, he couldn't fix it, sent it to Nick and Nick *supposedly* fixed it but it still doesn't work for me and my clients.

They manually installed a cert on my main IP for me but I still can't install any on a clients domains (on diff IP's) and neither can they install their own (self signed or bought from Verisign etc).

Not sure what to do about it atm, about to start pestering Darren again as my clients need it working.

Oddest thing is it's only that one server, the others running the same stuff (except for one I kept on 7.3) and SSL works fine on them. Just not on the one machine which, unfortunately, is the one I chose to host clients on atm :/

cPanel.net Support Ticket Number:
 

icanectc

Well-Known Member
Mar 10, 2003
342
0
166
We run RH8.0 servers and run SSL Scripts on it just fine.

What type of SSL Certs did you buy? Did you buy them through WHM itself? or from another company?
 

Donna

BANNED
Feb 15, 2003
88
0
156
Toronto, Canada
In my case it doesn't matter. Self-generated/signed certs, bought through WHM or bought seperately from trusted cert companies. WHM just won't install them.

However I think I might have just stumbled on the answer as the cert that cPanel did manage to install for me was set up for the server hostname which would cover all IP's and thus prevent any other certs from being set up.

I'll try removing that cert tomorrow and see what happens.

cPanel.net Support Ticket Number:
 

Stefaans

Well-Known Member
Mar 5, 2002
461
4
318
Vancouver, Canada
The same problem of a few months ago has again shown its ugly face :(

I followed my own advice to reinstall mod_ssl and recompile with easysapache, but the error persists. Even an easyapache with option 1 gives the same error (see first post in this thread for details).

I have submitted a ticket and for the time being run Apache without SSL (diabled the SSL lines in httpd.conf and restarted httpd).

Donna, I wonder if you have any advice after your similar experience?

cPanel.net Support Ticket Number: 34894
 

Stefaans

Well-Known Member
Mar 5, 2002
461
4
318
Vancouver, Canada
Our problems was solved by cPanel Support. In case you have a similar problem, the errors were caused by lines in the httpd.conf containing "SSLLogFile" and "SSLEnable on" statements.

We needed to remove the SSLLogFile lines because they apparently served no pupose. And all "SSLEnable on" statements had to be replaced by "SSLEngine on".

The funny thing is that all these lines were generated by WHM itself, not manually. And they have been in httpd.conf for months without problems.

All is working just fine again right now :)