Changes

From SME Server
Jump to navigationJump to search
803 bytes added ,  15:11, 17 December 2015
m
→‎Installation: Added check that cert has been created
Line 68: Line 68:  
  exit
 
  exit
   −
Replacing email and domains as required.  You should include every hostname that is hosted on your SME server, along with any aliases you use (e.g., www.yourdomain.tld, mail.yourdomain.tld, yourdomain.tld, www.yourotherdomain.tld, etc.).  If it completes with no errors, configure SME with the certificates generated:
+
Replacing email and domains as required.  You should include every hostname that is hosted on your SME server, along with any aliases you use (e.g., www.yourdomain.tld, mail.yourdomain.tld, yourdomain.tld, www.yourotherdomain.tld, etc.).  If it completes with no errors, it should tell you your certificate has been created.  To confirm, do:
 +
ls -l /etc/letsencrypt/live/test.firstdomain.co.uk
 +
 
 +
You should see something very similar to this:
 +
lrwxrwxrwx 1 root root 43 Dec 16 17:08 cert.pem -> ../../archive/test.firstdomain.co.uk/cert1.pem
 +
lrwxrwxrwx 1 root root 44 Dec 16 17:08 chain.pem -> ../../archive/test.firstdomain.co.uk/chain1.pem
 +
lrwxrwxrwx 1 root root 48 Dec 16 17:08 fullchain.pem -> ../../archive/test.firstdomain.co.uk/fullchain1.pem
 +
lrwxrwxrwx 1 root root 46 Dec 16 17:08 privkey.pem -> ../../archive/test.firstdomain.co.uk/privkey1.pem
 +
 
 +
If you do not see these files, '''stop'''.  Troubleshoot the problem before proceeding.  If you continue, you will break your web server any anything else that depends on SSL.  If you do see these files, go ahead and configure SME with the certificates generated:
    
  config setprop modSSL crt /etc/letsencrypt/live/test.firstdomain.co.uk/cert.pem
 
  config setprop modSSL crt /etc/letsencrypt/live/test.firstdomain.co.uk/cert.pem
147

edits

Navigation menu