Koozali.org: home of the SME Server

ssl.key issues

Offline katumba

  • ***
  • 59
  • +0/-0
ssl.key issues
« on: December 07, 2006, 07:47:40 PM »
a web designer told me that the server needed a new key and crt from CA in order for the site to be secure. I followed the steps from here:
http://mirror.contribs.org/smeserver/contribs//nickcritten/howtos/ssl.htm

with no errors. Now, the site won't come up at all. I can ping it, and ssh into it just fine. Where can i look to start troubleshooting?

thanks.

Offline byte

  • *
  • 2,183
  • +2/-0
ssl.key issues
« Reply #1 on: December 07, 2006, 08:13:23 PM »
Have a look in the log files i.e.

/var/log/httpd
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline katumba

  • ***
  • 59
  • +0/-0
error_log
« Reply #2 on: December 07, 2006, 08:21:10 PM »
[Thu Dec 07 12:52:53 2006] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

This is what I got from that file.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: error_log
« Reply #3 on: December 07, 2006, 08:24:16 PM »
Quote from: "katumba"
[Thu Dec 07 12:52:53 2006] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed


Seen this before, take a look at this bug...

http://bugs.contribs.org/show_bug.cgi?id=2035

*edit* Please post your findings to the bug report.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline katumba

  • ***
  • 59
  • +0/-0
Re: error_log
« Reply #4 on: December 07, 2006, 08:59:56 PM »
Quote from: "byte"
Quote from: "katumba"
[Thu Dec 07 12:52:53 2006] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed


Seen this before, take a look at this bug...

http://bugs.contribs.org/show_bug.cgi?id=2035

*edit* Please post your findings to the bug report.


That script fixed it. thanks!!!

Offline byte

  • *
  • 2,183
  • +2/-0
Re: error_log
« Reply #5 on: December 07, 2006, 10:40:01 PM »
Quote from: "katumba"

That script fixed it. thanks!!!


It shouldn't need that script to fix it as it's not fixed it for anyone else, what we really need is people to report to bug tracker and explain what they did so the core devs can decide a proper fix in the sme code.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline katumba

  • ***
  • 59
  • +0/-0
ssl.key issues
« Reply #6 on: December 07, 2006, 11:52:13 PM »
hmm. well, restarting httpd got the web site back up, but on reboot it's still down. Oh well, i'll just reimage it.

thanks.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
ssl.key issues
« Reply #7 on: December 08, 2006, 12:59:02 AM »
Quote from: "katumba"
hmm. well, restarting httpd got the web site back up, but on reboot it's still down. Oh well, i'll just reimage it.


That's both unnecessary, and will only get you back to where you started. What did the 'web designer' believe was insecure about the original setup?

Offline katumba

  • ***
  • 59
  • +0/-0
ssl.key issues
« Reply #8 on: December 08, 2006, 06:39:11 AM »
Thats my original thinking. here is the first email:

"I need to get an SSL certificate installed on the website.com web server.  If there is some sort of control panel (PLESK?) we can log into to generate a CSR, then we can take care of this, if not we are going to need your assistance setting this up."

my reply:

"The server already generates its own ssl cert.  There is no need to generate one.
You can view it by typing: less /etc/httpd/conf/ssl.csr/server.csr
After logging into it with putty or something similar."

His answer:

"We generally do not like to configure servers that are not our own for liability reasons.  Is it available for you to handle the SSL purchase\install?

If you would like us to handle the purchase, then you can email me the CSR, and I can email you back the certificate to install.

Let me know,"

So, that's what i'm up against...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: ssl.key issues
« Reply #9 on: December 08, 2006, 08:24:11 AM »
Regards,
William

IF I give advise.. It's only if it was me....

Offline katumba

  • ***
  • 59
  • +0/-0
ssl.key issues
« Reply #10 on: December 08, 2006, 05:00:17 PM »
No, I didn't see that how-to. I tried the one in my first post. That one seems better, though.

Offline katumba

  • ***
  • 59
  • +0/-0
Re: ssl.key issues
« Reply #11 on: December 08, 2006, 09:14:12 PM »
Quote from: "william_syd"
Quote from: "katumba"
I followed the steps from here:
http://mirror.contribs.org/smeserver/contribs//nickcritten/howtos/ssl.htm


Did you end up doing it as per this how to ?

http://mirror.contribs.org/smeserver/contribs//nickcritten/howtos/ssl7.htm


Any help with this would be great. I just ran the instruction from that how-to listed above after reimaging the box. It gives out normal http docs ok, however errors out on https stuff...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
ssl.key issues
« Reply #12 on: December 08, 2006, 11:45:09 PM »
I don't use that howto so I'm unable to help.

There are other threads that discuss that howto but I don't remember if there was any mention of a problem with the final howto.

Logs are your friend. They may give an insight into whats going wrong.
Regards,
William

IF I give advise.. It's only if it was me....