Line 44: |
Line 44: |
| Multiple clients are available for the Letsencrypt services. The official client from letsencrypt.org is quite full-featured, but has a number of dependencies that it needs to install. It also requires a newer version of Python than is included with a standard SME Server installation. Due to this complexity, and the lack of compatibility with SME 8.x, this document describes installation and use of ''[https://github.com/lukas2511/dehydrated dehydrated]'', an alternative client implemented as a BASH shell script. | | Multiple clients are available for the Letsencrypt services. The official client from letsencrypt.org is quite full-featured, but has a number of dependencies that it needs to install. It also requires a newer version of Python than is included with a standard SME Server installation. Due to this complexity, and the lack of compatibility with SME 8.x, this document describes installation and use of ''[https://github.com/lukas2511/dehydrated dehydrated]'', an alternative client implemented as a BASH shell script. |
| | | |
− | === Installation of Dehydrated === | + | === Contrib install of Dehydrated === |
− | Dehydrated is a lightweight alternative ACME client which will allow you to retrieve certificates from the Letsencrypt servers without needing to install any additional software on your server, other than git to download and install it. Begin by installing git: | + | Dehydrated is a lightweight alternative ACME client which will allow you to retrieve certificates from the Letsencrypt servers without needing to install any additional software on your server. |
| + | |
| + | The script has now been imported into the contribs repository and can be installed as follows: |
| + | |
| + | yum --enablerepo=smecontribs install dehydrated |
| + | |
| + | By itself the script will do absolutely nothing and requires configuration files to be created and the script called either manually or via cron. |
| + | |
| + | |
| + | === Git install of latest version === |
| + | |
| + | If you need the latest version of the script then you can remove the contrib above and manually install as follows: |
| + | |
| + | Begin by installing git: |
| yum install git | | yum install git |
| | | |
Line 52: |
Line 65: |
| git clone https://github.com/lukas2511/dehydrated | | git clone https://github.com/lukas2511/dehydrated |
| mv dehydrated/dehydrated /usr/local/bin/ | | mv dehydrated/dehydrated /usr/local/bin/ |
| + | |
| + | === Manual Configuration of Dehydrated === |
| | | |
| You'll need to create two configuration files for Dehydrated. | | You'll need to create two configuration files for Dehydrated. |