This AlternC plugin get certificates with Letsencrypt service. It generates:
- a panel certificate (as apache.pem)
- any certificate to each domains hosted
When a domain is added, the plugin try to get a new certificate. We check that the DNS is answering with our PUBLIC_IP before asking Letsencrypt
You'll need :
- a Debian server (from Jessie)
- AlternC >= 3.5
- The Certbot package
- with Jessie : from backports
- with Stretch : from stable or from backports for wildcards
- apt-transport-https package to use https bintray service.
You can download last package from :
- github : release page
- bintray :
- from bintray repository
- on AlternC official repository at https://debian.alternc.org/
No more supported (last compatible version is 0.0.14)
apt-get install apt-transport-https
echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
echo "deb [trusted=yes] https://dl.bintray.com/alternc/stable stable main" >> /etc/apt/sources.list.d/alternc.list
apt-get update
apt-get install -t jessie-backports certbot
apt-get install alternc-certificate-provider-letsencrypt
alternc.install
apt-get install apt-transport-https
echo "deb [trusted=yes] https://dl.bintray.com/alternc/stable stable main" >> /etc/apt/sources.list.d/alternc.list
apt-get update
apt-get install certbot alternc-certificate-provider-letsencrypt
alternc.install
You can get last package from bintray, it's follow git master branch
echo "deb [trusted=yes] https://dl.bintray.com/alternc/nightly stable main" >> /etc/apt/sources.list.d/alternc.list
apt-get update
apt-get upgrade
apt-get install alternc-certificate-provider-letsencrypt
alternc.install
Once alternc-certificate-provider-letsencrypt is installed, you must:
- run alternc.install
You can run also /usr/lib/alternc/generate_certbot.php to get faster certificate to all domains hosted.
To generate package we use either debuild on feature-package branch, or fpm tool on master:
apt-get install ruby ruby-dev rubygems build-essential
gem install --no-ri --no-rdoc fpm
git clone https://github.com/AlternC/alternc-certbot
cd alternc-certbot
make
- Auto renew panel certificat (0.0.2)
- Auto detect new domain add from panel (0.0.3)
- Don't stop apache to get certificate (0.0.4)
- Auto renew all domains (0.0.5)
- Provide a stretch compatibility (0.0.6)
- Correct update cron (0.0.11)
- Prevent https redirection before certificate generation (0.0.12)
- More verbose on alternc.install process as certificates generation can took some times (0.0.14)
- Stop old debian support
- Renaming project to follow AlternC recommandation (since 3.5.x)
- Change packaging system, move to debuild solution (0.0.15)
- push into official AlternC repository