Koozali.org: home of the SME Server

loss of access after installation of CA certificate [Solved]

Offline Paperguides

  • ***
  • 118
  • +0/-0
This was probably a daft thing to do but I followed the How To "Certificates signed by own CA" and I can now no longer access via the web interface.  Emails and other actions appear to be working OK.  I can, however, still access using Putty.

This is a 8.0b6 with all updates applied.

Short of reloading from scratch, how can I recover the web access?

Thanks,
« Last Edit: April 05, 2011, 11:26:30 PM by Paperguides »
...

Offline jester

  • *
  • 496
  • +1/-0
Re: loss of access after installation of CA certificate
« Reply #1 on: April 05, 2011, 06:54:39 PM »
No guarantees! Try:

Code: [Select]
db configuration delprop modSSL crt
db configuration delprop modSSL key
signal-event console save

Rename the keys you've created (replace ??? with real names):
Code: [Select]
mv /home/e-smith/ssl.crt/???.crt /home/e-smith/ssl.crt/???.crt.OLD
mv /home/e-smith/ssl.key/???.key /home/e-smith/ssl.key/???.key.OLD
mv /home/e-smith/ssl.pem/???.pem /home/e-smith/ssl.pem/???.pem.OLD

And to finish things:
Code: [Select]
signal-event ldap-update
I think this should bring you back to the original situation.

Part of the info of the certificate is set through the server-manager: server-manager > configuration > directory
The commonName of the certificate can be set as described here: http://wiki.contribs.org/Certificate#Custom_Certificate_for_SME_7.1.3_and_above_versions


HTH.

Offline Paperguides

  • ***
  • 118
  • +0/-0
Re: loss of access after installation of CA certificate
« Reply #2 on: April 05, 2011, 11:24:02 PM »
Thanks Jester, It worked brilliantly.  :-P

One minor typo:

signal-event console save  should be signal-event console-save

Thanks again for you help.
...