Skip to content

Scripts to create acme.sh as Debian package

Notifications You must be signed in to change notification settings

sensational/acme.sh-debian

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

acme.sh-debian

This projects helps to package acme.sh as a Debian archive (.deb). acme.sh actually has a pretty good installer (acme.sh --install) but if you want to use a (personal) APT repository (e.g. with using unattended-upgrades) this could help make it easier to install. Also this could be used to create a package that already holds your personal configuration files.

The resulting package will do the following:

  1. Install acme.sh and all library files (dnsapi/, deploy/ and notify) in /usr/lib/acme.sh
  2. Install account.conf in /etc/acme.sh/account.conf
  3. Set /etc/acme.sh/cert as the location for certificates (via $CERT_HOME in account.conf)
  4. Install the cronjob for renewing the certificates obtained as root
  5. Set up an alias for root (alias acme.sh=acme.sh --home /etc/acme.sh)

Configure

Change the $PROJECT and $BRANCH variables in debian/rules to make sure you're using the right package. E.g. if you've created your own branch/fork of acme.sh you can use that here. Also make sure to adapt account-etc.conf (to be installed in /etc/acme.sh/account.conf to your needs).

After you've adapted the package update the changelog with dch (which also determines the version number for this package)

Build

Build the package using debuild in the main directory.

Install

Install the resulting package with dpkg -i or add it to your personal APT repository via dput

This packaging is based on the work of Maarten den Braber (mdbraber on github) and we forked it to release a more debian-normalized and up-to-date release of acme.sh, managed by the Octopuce team. Thanks Maarten!

About

Scripts to create acme.sh as Debian package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published