Skip to content

sebas891/sebas-alternc-certificate-provider-letsencrypt

 
 

Repository files navigation

Purpose

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

Requirements

You'll need :

Installation

Stable package

You can download last package from :

On Wheezy

No more supported (last compatible version is 0.0.14)

On Jessie

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

On Stretch

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

Nightly package

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

Configuration and Activation

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.

Packaging from source

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

ROADMAP

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 83.7%
  • Makefile 8.6%
  • Shell 7.7%