No description
Find a file
Alexandre Alouit 876dc671ef bugfix
2015-12-02 03:03:08 +01:00
src bugfix 2015-11-30 16:03:47 +01:00
.gitignore Initial commit 2015-11-06 20:52:02 +01:00
_todo improvement & bugfix 2015-11-26 02:12:51 +01:00
apache.letsencrypt.conf bugfix 2015-12-01 17:57:44 +01:00
cli.ini first working version 2015-11-09 02:13:08 +01:00
cli.ini.patch first working version 2015-11-09 02:13:08 +01:00
install.php bugfix 2015-12-02 03:03:08 +01:00
nginx.conf.patch bugfix 2015-12-01 17:57:44 +01:00
README.md bugfix 2015-12-01 17:57:44 +01:00

ISPConfig Let's Encrypt

REQUIREMENTS

Let's Encrypt installed

ISPConfig (select version in branche)

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

  • make your own backup!

  • go to dir

cd ISPConfig-letsencrypt
  • 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 (merge all files from ./src to /usr/local/ispconfig)
rsync -av ./src/ /usr/local/ispconfig/
  • 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';