Line 61: |
Line 61: |
| John Crisp has prepared a contrib that installs the dehydrated script, creates the appropriate configuration files, and integrates with the SME templates system. This is the simplest way to install dehydrated on your SME Server. | | John Crisp has prepared a contrib that installs the dehydrated script, creates the appropriate configuration files, and integrates with the SME templates system. This is the simplest way to install dehydrated on your SME Server. |
| | | |
− | ===Installation=== | + | |
| + | <tabs container><tab name="For SME 10"> |
| yum install smeserver-letsencrypt | | yum install smeserver-letsencrypt |
− |
| |
− | If your smeaddons repo has been disabled add --enablerepo=smeaddons
| |
| | | |
| You will then need to configure the domains and hosts for which you want to ask a certificate. See the following Configuration section. | | You will then need to configure the domains and hosts for which you want to ask a certificate. See the following Configuration section. |
| | | |
− | ===Updates=== | + | If your smeaddons repo has been disabled add --enablerepo=smeaddons and reenable it, as it should be by default. |
− | Your server will report available updates from the smecontribs repository as they are available. If you have previously installed smeserver-letsencrypt from the reetp repository, you will need to make sure that you've set the ACCEPT_TERMS configuration property:
| + | db yum_repositories setprop smeaddons status enabled |
| + | signal-event yum-modify |
| | | |
− | config setprop letsencrypt ACCEPT_TERMS yes | + | </tab><tab name="For SME 9"> |
| + | ===Installation=== |
| + | yum install smeserver-letsencrypt |
| signal-event console-save | | signal-event console-save |
| + | |
| + | You will then need to configure the domains and hosts for which you want to ask a certificate. See the following Configuration section. |
| + | |
| + | If your smeaddons repo has been disabled add --enablerepo=smeaddons and reenable it, as it should be by default. |
| + | db yum_repositories setprop smeaddons status enabled |
| + | signal-event yum-modify |
| | | |
| ===Updating=== | | ===Updating=== |
Line 79: |
Line 87: |
| A full update can be done as follow : | | A full update can be done as follow : |
| yum update smeserver-letsencrypt dehydrated | | yum update smeserver-letsencrypt dehydrated |
− | | + | config setprop letsencrypt ACCEPT_TERMS yes |
− | If your smeaddons repo has been disabled add --enablerepo=smeaddons
| |
− | | |
− | It is important to do the usual
| |
− | signal-event post-upgrade; signal-event reboot | |
− | | |
− | otherwise
| |
| signal-event console-save | | signal-event console-save |
− |
| |
| failure to do this might leave the contribution not working and your certificates not renewed. | | failure to do this might leave the contribution not working and your certificates not renewed. |
| + | </tab> |
| + | </tabs> |
| | | |
| ==Configuration== | | ==Configuration== |