Koozali.org: home of the SME Server

Security Certificate HELP

msilkjr

Security Certificate HELP
« on: February 17, 2004, 12:55:47 AM »
Every time i view my site it tells me that theres a problem with the Security Certificate it says " The Name on the Security Certificate is invalid or does not match the name of the site"

How do i Change the Security Certificate on the sme server

Offline gelcube

  • ***
  • 55
  • +0/-0
    • http://www.ninetails.net
Security Certificate HELP
« Reply #1 on: February 17, 2004, 04:58:42 PM »
Hmm, I have a similar problem which occurred when I changed the default domain name of the server.  I'll ask an additional question...is there a way to perhaps RESET the certificate?

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Security Certificate HELP
« Reply #2 on: February 17, 2004, 05:18:46 PM »
When you install SME, a self-signed server certificate is created with the name of secure.<domain>.  You have two options--either direct your https links to https://secure.whatever, or create a new server certificate that matches the server name you want to use.  The certs are stored at /home/e-smith/ssl.crt and /home/e-smith/ssl.key.
......

Offline gelcube

  • ***
  • 55
  • +0/-0
    • http://www.ninetails.net
Security Certificate HELP
« Reply #3 on: February 17, 2004, 05:25:26 PM »
Quote from: "DanB35"
When you install SME, a self-signed server certificate is created with the name of secure.<domain>.  You have two options--either direct your https links to https://secure.whatever, or create a new server certificate that matches the server name you want to use.  The certs are stored at /home/e-smith/ssl.crt and /home/e-smith/ssl.key.


That's great, thanks!  But how do you recreate the key and certificate?  Will it be automatically recreated if it's deleted, or is there a command to run?

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Security Certificate HELP
« Reply #4 on: February 17, 2004, 06:08:04 PM »
......

Offline gelcube

  • ***
  • 55
  • +0/-0
    • http://www.ninetails.net
Security Certificate HELP
« Reply #5 on: February 17, 2004, 06:44:00 PM »
Thanks, DanB.  The V-cut site referenced in that thread appears to be down, but another HowTo is here: http://www.chaloner.ca/article.php?story=20020922181652718