Fork of zenhack/simp_le (since he doesn't keep his docker builds up-to-date)
1.5K
|Build Status|
Simple Let’s Encrypt_ client.
.. code:: shell
simp_le --email [email protected] -f account_key.json \
-f account_reg.json \
-f fullchain.pem -f key.pem \
-d example.com -d www.example.com --default_root /var/www/html \
-d example.net:/var/www/other_html
For more info see simp_le --help.
N.B. this was originally a fork of https://github.com/kuba/simp\_le, which is unmaintained and has some breakage due to bitrot. Thanks to @kuba for the original implementation.
UNIX philosophy_: Do one thing and do it well!
simp_le --valid_min ${seconds?} -f cert.pem implies that
cert.pem is valid for at at least valid_min (defaults to 2592000
seconds / 30 days). Register new ACME CA account if necessary. Issue
new certificate if no previous key/certificate/chain found. Renew only
if necessary.
(Sophisticated) “manager” for
${webroot?}/.well-known/acme-challenge only. No challenges other
than http-01. Existing web-server must be running already.
No magical webserver auto-configuration.
Owner of ${webroot?}/.well-known/acme-challenge must be able to
run the script, without privilege escalation (sudo, root,
etc.).
crontab friendly: fully automatable - no prompts, etc.
No configuration files. CLI flags as the sole interface! Users should write their own wrapper scripts or use shell aliases if necessary.
Support multiple domains with multiple roots. Always create single
SAN certificate per simp_le run.
Flexible storage capabilities. Built-in
simp_le -f fullchain.pem -f key.pem,
simp_le -f chain.pem -f cert.pem -f key.pem, etc.
Do not allow specifying output file paths. Users should symlink if necessary!
No need to allow specifying an arbitrary command when renewal has happened, just check the exit code:
0 if certificate data was created or updated;1 if renewal not necessary;2 in case of errors.--server (support multiple ACME v2 CAs).
Support for revocation.
Implicit agreement to the selected ACME CA's terms of service.
.. code:: shell
sudo ./bootstrap.sh
./venv.sh
export PATH=$PWD/venv/bin:$PATH
If you want to use simp_le with Docker, have a look at simp\_le for Docker_.
Have a look into ./examples/ and
https://github.com/zenhack/simp\_le/wiki/Examples.
If you’re having problems you can chat with us on IRC (#simp\_le at Freenode)_
.. _Let’s Encrypt: https://letsencrypt.org .. _UNIX philosophy: https://en.wikipedia.org/wiki/Unix_philosophy .. _IRC (#simp_le at Freenode): http://webchat.freenode.net?randomnick=1&channels=%23simp_le&prompt=1 .. _simp_le for Docker: docker
.. |Build Status| image:: https://travis-ci.org/zenhack/simp_le.svg?branch=master :target: https://travis-ci.org/zenhack/simp_le
Below is a summary of changes introduced in each release. Any user-visible changes must be recorded here. Note that the topmost entry sometimes represents the next (i.e. not yet released) version.
Releases occur approximately every two months, unless there is a pressing need to do otherwise (e.g. security & serious bug fixes).
0.17.0 ++++++
0.16.0 ++++++
0.15.0 ++++++
Please read these carefully, as this release includes a couple changes that may require changes when upgrading
--server flag, you will need to update it to point to
a v2 endpoint (or simply remove it, to use Let's Encrypt's
default v2 endpoint).-f account_reg.json option to simp_le-f external.sh feature.0.14.0 ++++++
0.13.0 ++++++
0.12.0 ++++++
0.11.0 ++++++
0.10.0 ++++++
0.9.0 +++++
0.8.1 +++++
0.8.0 +++++
0.7.0 +++++
0.6.2 +++++
0.6.1 +++++
0.6.0 +++++
0.5.1 +++++
0.5.0 +++++
0.4.0 +++++
0.3.0 +++++
0.2.0 +++++
0.1.1 +++++
0.1.0 +++++
Content type
Image
Digest
Size
24.5 MB
Last updated
over 6 years ago
docker pull iammer/simp_le