aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAlexandre Alouit <alexandre.alouit@gmail.com>2015-11-09 02:13:08 +0100
committerAlexandre Alouit <alexandre.alouit@gmail.com>2015-11-09 02:13:08 +0100
commit9ea9794d8b8babae7cb670f8d187f16fbf0ed848 (patch)
tree4320b356ffd01f776b8da5dbd44dd6355b8c5327 /README.md
parent89b7f0006d34c2d3b37a8aad6a9809eb1955b26f (diff)
first working version
Diffstat (limited to 'README.md')
-rw-r--r--README.md65
1 files changed, 65 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4ca41ef
--- /dev/null
+++ b/README.md
@@ -0,0 +1,65 @@
+ISPConfig Let's Encrypt
+=========================
+
+
+# REQUIRREMENTS
+
+Let's Encrypt installed
+
+ISPConfig 3.0.5.4p8 or newer
+
+Apache or Nginx
+
+
+# INSTALLATION (as root)
+
+```
+git clone https://github.com/alexalouit/ISPConfig-letsencrypt.git
+cd ISPConfig-letsencrypt
+php -q install.php
+```
+
+After install, a new checkbox will be available in editing website, just check it.
+
+
+## MANUAL INSTALLATION
+
+- patch or create Let's Encrypt configuration
+```
+cp ./cli.ini /etc/letsencrypt/cli.ini
+ or
+patch /etc/letsencrypt/cli.ini < ./cli.ini.patch
+```
+
+- patch ISPConfig
+```
+cp ispconfig.patch /usr/local/ispconfig/ispconfig.patch
+cd /usr/local/ispconfig
+patch -p3 < ./ispconfig.patch
+rm ./ispconfig.patch
+```
+
+- prepare apache
+```
+cp ./apache.letsencrypt.conf /etc/apache2/conf-available/letsencrypt.conf
+a2enmod headers
+a2enconf letsencrypt
+service apache2 reload
+```
+
+- prepare nginx
+```
+patch /etc/nginx/nginx.conf < ./nginx.conf.patch
+service nginx reload
+```
+
+- create a cron for automatic renewal:
+```
+crontab -e
+30 02 * * * /root/.local/share/letsencrypt/bin/letsencrypt-renewer >> /var/log/ispconfig/cron.log; done
+```
+
+- sql queries:
+```
+ALTER TABLE `web_domain` ADD `ssl_letsencrypt` enum('n','y') NOT NULL DEFAULT 'n';
+``` \ No newline at end of file