Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: imcintyre on October 28, 2007, 11:35:05 PM

Title: CAcert install gone wrong no access to Website, Server Manager (Solved)
Post by: imcintyre on October 28, 2007, 11:35:05 PM
I followed the how to
Code: [Select]
http://wiki.contribs.org/Custom_CA_Certificate.

The first time through I made a couple of mistakes and ended up getting the error.

Code: [Select]
Syntax error on line 138 of /etc/httpd/conf/httpd.conf
SSLCertificateKeyFile: file '/home/e-smith/ssl.crt.xxxxxx.xxx.key' does not exsist or is empty

To undo this I followed
Code: [Select]
Code:
config delprop modSSL crt
config delprop modSSL key

Then delete everything in

/home/e-smith/ssl.crt/  and  /home/e-smith/ssl.key/

Then..

Code:
signal-event console-save
signal-event post-upgrade
signal-event reboot

After that I was able to muddle my way through get everything right (?) but now cannot access my website, horde, or server-manager. I do however have internet access.

I tried this
Code: [Select]
login as: root
# httpd -k restart
httpd not running, trying to start
#

This did not help.

Any help would be appreciated.

Thx in advance

Ian
Title: Re: Help with CAcert install
Post by: shell on October 29, 2007, 03:46:48 AM
hi,
haven't searched or confirmed but think signal-event domain-modify will rebuild the standard certs after customisations are removed - i'm not familiar with the console-save.  i have installed and worked the custom certs without problems, but that may have been 7.1.3 not 7.2.

i think you need to empty the pem contents and db entried too.  have a look to see if you have the old entry in modSSL pem value, and remove it as with the delprop below, also remove the entry from in /home/e-smith/sss.pem

so once back to standard check for bugs or other known problems with the wiki instructions
then start with the instructions again... 

so you would

Step 1
Code: [Select]
config delprop modSSL crt
config delprop modSSL key
config delprop modSS pem

Step 2
Then delete everything in
/home/e-smith/ssl.crt/  and  /home/e-smith/ssl.key/ and /home/e-smith/sss.pem

Code: [Select]
signal-event domain-modify
signal-event post-upgrade
signal-event reboot

good luck!  shell
Title: Re: Help with CAcert install
Post by: imcintyre on October 29, 2007, 06:23:30 PM
Shell;

Thanks for your help, that worked.

I will give it another go next weekend.

Ian