Changes

From SME Server
Jump to navigationJump to search
123 bytes removed ,  00:19, 9 May 2017
m
→‎Rush jobs: Correct db config commands, and no need to move old certs to another directory.
Line 129: Line 129:  
===Rush jobs===
 
===Rush jobs===
 
for the test ('''adjust the domains and hosts'''):
 
for the test ('''adjust the domains and hosts'''):
  config setprop ACCEPT_TERMS yes status test
+
  config setprop letsencrypt ACCEPT_TERMS yes status test
 
  #foreach of your domains you want SSL do the following
 
  #foreach of your domains you want SSL do the following
 
  db domains setprop '''domain1.com''' letsencryptSSLcert enabled
 
  db domains setprop '''domain1.com''' letsencryptSSLcert enabled
Line 137: Line 137:  
  dehydrated -c
 
  dehydrated -c
   −
Check that the certificates are available ( your browser will still issue an error, but you can explore the content of the certificate to see that the Let's Encrypt test CA was used to sign your SSL certificate and that all your domains and hosts are in the "Certificate Subject Alt Name" property, except the first one that is the name of the certificate.
+
Check that the certificates are available ( your browser will still issue an error, but you can explore the content of the certificate to see that the Let's Encrypt test CA was used to sign your SSL certificate and that all your domains and hosts are in the "Certificate Subject Alt Name" property.
    
for the production ('''adjust your email'''):
 
for the production ('''adjust your email'''):
  config setprop status enabled email '''admin@domain1.com'''
+
  config setprop letsencrypt status enabled email '''admin@domain1.com'''
 
  signal-event console-save
 
  signal-event console-save
mkdir /etc/dehydrated/certs.test
  −
mv /etc/dehydrated/certs/* /etc/dehydrated/certs.test
   
  dehydrated -c -x
 
  dehydrated -c -x
  
147

edits

Navigation menu