Changes

From SME Server
Jump to navigationJump to search
145 bytes added ,  09:18, 15 December 2023
m
Add correct wiki page for Note re fail on All
Line 117: Line 117:  
<tabs container style="display: inline-block;"><tab name="For SME 10">
 
<tabs container style="display: inline-block;"><tab name="For SME 10">
 
  config setprop letsencrypt ACCEPT_TERMS yes status test
 
  config setprop letsencrypt ACCEPT_TERMS yes status test
 +
# really fast job to enable the primary domain
 +
db domains setprop $(config get DomainName) letsencryptSSLcert enabled
 
  #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 139:  
For the production ('''adjust your email'''):
 
For the production ('''adjust your email'''):
 
<tabs container style="display: inline-block;"><tab name="For SME 10">
 
<tabs container style="display: inline-block;"><tab name="For SME 10">
  config setprop letsencrypt status enabled email '''admin@domain1.com'''
+
  config setprop letsencrypt status enabled email admin@$(config get DomainName)
 
  signal-event smeserver-letsencrypt-update
 
  signal-event smeserver-letsencrypt-update
 
  dehydrated -c -x
 
  dehydrated -c -x
Line 189: Line 191:       −
With the system configuration described above, setting this to "domains" will obtain a certificate covering domain1.com and domain2.com, but not www.domain1.com, etc.  Setting it to "hosts" will obtain a certificate covering www.domain1.com, mail.domain1.com, ftp.domain1.com, etc., but not domain1.com or domain2.com.  Setting this property to "all" will include all domain names and hostnames in the certificate. '''see [[Letsencrypt#Some_challenges_complete_successfully_but_some_hostnames_fail|NOTE]] before setting this to "all"'''
+
With the system configuration described above, setting this to "domains" will obtain a certificate covering domain1.com and domain2.com, but not www.domain1.com, etc.  Setting it to "hosts" will obtain a certificate covering www.domain1.com, mail.domain1.com, ftp.domain1.com, etc., but not domain1.com or domain2.com.  Setting this property to "all" will include all domain names and hostnames in the certificate. '''See [[Letsencrypt/Troubleshooting#Some_challenges_complete_successfully_but_some_hostnames_fail|NOTE]] before setting this to "all".'''
    
==== Enable test mode ====
 
==== Enable test mode ====
Line 253: Line 255:  
|
 
|
 
|email
 
|email
|enter the email to create account and recieve updates from Let's Encrypt
+
|enter the email to create account and receive updates from Let's Encrypt
 
|-
 
|-
 
|hookScript
 
|hookScript
Line 263: Line 265:  
|disabled
 
|disabled
 
|yes,disabled
 
|yes,disabled
|default disabled, if disabled will only ask cert for hosts (if selected accodring to configure and "letsencryptSSLcert enabled") for hosts with type=Self. If set to yes will include any listed hosts wether remote or local.
+
|default disabled, if disabled will only ask cert for hosts (if selected according to configure and "letsencryptSSLcert enabled") for hosts with type=Self. If set to yes will include any listed hosts whether remote or local.
 
|-
 
|-
 
|keysize
 
|keysize

Navigation menu