]> git.ipfire.org Git - thirdparty/dehydrated.git/log
thirdparty/dehydrated.git
9 years agoInvoke bash through /usr/bin/env 349/head
Simon Deziel [Tue, 31 Jan 2017 01:47:23 +0000 (20:47 -0500)] 
Invoke bash through /usr/bin/env

9 years agoThe example hook script uses bash test regex
Simon Deziel [Tue, 31 Jan 2017 01:36:19 +0000 (20:36 -0500)] 
The example hook script uses bash test regex

Use bash explictly as done for the main script.

Signed-off-by: Simon Deziel <simon.deziel@gmail.com>
9 years agowhitelist handlers for example hook (fixes #348)
Lukas Schauer [Mon, 30 Jan 2017 02:53:59 +0000 (03:53 +0100)] 
whitelist handlers for example hook (fixes #348)

9 years agoexclude root certificate from certificate chain
Lukas Schauer [Mon, 30 Jan 2017 02:22:14 +0000 (03:22 +0100)] 
exclude root certificate from certificate chain

9 years agouse awk instead of grep for reading trailing line after match (fixes #255)
Lukas Schauer [Sun, 29 Jan 2017 23:12:01 +0000 (00:12 +0100)] 
use awk instead of grep for reading trailing line after match (fixes #255)

9 years agoRevert "curl: use custom user agent"
Lukas Schauer [Sun, 29 Jan 2017 21:56:42 +0000 (22:56 +0100)] 
Revert "curl: use custom user agent"

This reverts commit a5fde931f8602ec1334e8ad2e3471c6c7ceeb58d.

9 years agocurl: use custom user agent
Lukas Schauer [Sun, 29 Jan 2017 21:42:02 +0000 (22:42 +0100)] 
curl: use custom user agent

9 years agoask user to read and accept license, added register-command, fullchain.pem is now...
Lukas Schauer [Sun, 29 Jan 2017 17:54:10 +0000 (18:54 +0100)] 
ask user to read and accept license, added register-command, fullchain.pem is now actually the full chain

9 years agoupdated changelog
Lukas Schauer [Sun, 29 Jan 2017 15:06:24 +0000 (16:06 +0100)] 
updated changelog

9 years agoexport some config variables for use within hook scripts
Lukas Schauer [Sun, 29 Jan 2017 15:03:59 +0000 (16:03 +0100)] 
export some config variables for use within hook scripts

9 years agoadded `exit_hook` hook
Lukas Schauer [Sun, 29 Jan 2017 14:48:03 +0000 (15:48 +0100)] 
added `exit_hook` hook

9 years agoupdated changelog
Lukas Schauer [Sun, 29 Jan 2017 13:33:41 +0000 (14:33 +0100)] 
updated changelog

9 years agocheck for diff using `command`
Lukas Schauer [Sun, 29 Jan 2017 13:03:35 +0000 (14:03 +0100)] 
check for diff using `command`

9 years agouse awk instead of tr for changing case
Lukas Schauer [Sun, 29 Jan 2017 13:00:45 +0000 (14:00 +0100)] 
use awk instead of tr for changing case

9 years agocheck for mktemp using `command` (busybox compatibility)
Lukas Schauer [Sun, 29 Jan 2017 12:58:42 +0000 (13:58 +0100)] 
check for mktemp using `command` (busybox compatibility)

9 years agomissing filename in config path
Lukas Schauer [Thu, 5 Jan 2017 23:40:03 +0000 (00:40 +0100)] 
missing filename in config path

9 years agomoved and rewritten config section of readme
Lukas Schauer [Thu, 5 Jan 2017 23:38:13 +0000 (00:38 +0100)] 
moved and rewritten config section of readme

9 years agoUpdate Readme.md (#301)
Maximilian Weber [Thu, 5 Jan 2017 23:32:53 +0000 (00:32 +0100)] 
Update Readme.md (#301)

Add config section

9 years agoremoved note about project renaming
Lukas Schauer [Thu, 5 Jan 2017 23:31:03 +0000 (00:31 +0100)] 
removed note about project renaming

9 years agoFix: bash to sh notation on invalid_challenge() hook
Nicolás Kovac [Thu, 5 Jan 2017 23:18:57 +0000 (00:18 +0100)] 
Fix: bash to sh notation on invalid_challenge() hook

9 years agoAdding the request_failure hook (#326)
nkovacne [Thu, 5 Jan 2017 23:15:51 +0000 (00:15 +0100)] 
Adding the request_failure hook (#326)

9 years agotrying to fix #320 again
Lukas Schauer [Thu, 22 Dec 2016 21:41:24 +0000 (22:41 +0100)] 
trying to fix #320 again

9 years agoremoved some spaces
Lukas Schauer [Thu, 22 Dec 2016 09:00:05 +0000 (10:00 +0100)] 
removed some spaces

9 years agoTest for case when challenge_altnames is empty (#321)
Aaron Roydhouse [Thu, 22 Dec 2016 08:58:48 +0000 (03:58 -0500)] 
Test for case when challenge_altnames is empty (#321)

When all names in a cert have already been validated, the challenge_altnames array will be empty, causes an error in later code. This patch adds a test to handle that case.

9 years agoremoved temporary wrapper script
Lukas Schauer [Mon, 19 Dec 2016 00:21:43 +0000 (01:21 +0100)] 
removed temporary wrapper script

9 years agoAdding the invalid_challenge hook (#278)
nkovacne [Sun, 18 Dec 2016 19:31:08 +0000 (20:31 +0100)] 
Adding the invalid_challenge hook (#278)

9 years agoAdd new parameter --lock-suffix. (#287)
Eihrister [Sun, 18 Dec 2016 19:25:49 +0000 (20:25 +0100)] 
Add new parameter --lock-suffix. (#287)

* Add new parameter --lock-suffix.

This enables automation systems to run multiple instances of dehydrated
while still maintaining a locking facility. This is necessary for
projects like https://github.com/GUI/lua-resty-auto-ssl.

With this feature, one could run the script multiple times, while still
having a form of locking:

./dehydrated --lock-suffix test1.example.com -d test1.example.com
./dehydrated --lock-suffix test2.example.com -d test2.example.com
./dehydrated --lock-suffix test3.example.com -d test3.example.com
./dehydrated --lock-suffix test4.example.com -d test4.example.com
./dehydrated --lock-suffix test5.example.com -d test5.example.com

When starts the script with the same locking suffix, the scripts exits
like it normally would when locked. This will give you the benefits of
using --no-lock, without the disadvantages of it.

* Fixed unbound variable error for new PARAM_LOCKFILE_SUFFIX.

9 years agoSkip challenge for already validated domains (#293)
sth [Sun, 18 Dec 2016 19:25:05 +0000 (20:25 +0100)] 
Skip challenge for already validated domains (#293)

* skip challenge for already validated domains

* only call deploy_challenge hook if there is work

No need to call the hook if there are no challenges to deploy

9 years agoMinor Grammar Stuff (#319)
CJ Johnson [Sun, 18 Dec 2016 19:19:19 +0000 (11:19 -0800)] 
Minor Grammar Stuff (#319)

* typo

s/pullrequest/pull request/

* proper noun & possessive apostrophe

s/letsencrypts/Let's Encrypt's/

* proper noun / spacing /

s/curl/cURL/
s/letsencryprt/Let's Encrypt/

9 years agoupdated ngrok url in test.sh
Lukas Schauer [Mon, 17 Oct 2016 20:46:28 +0000 (22:46 +0200)] 
updated ngrok url in test.sh

9 years agoBasic implementation for private key rollover (#294)
crza [Mon, 17 Oct 2016 20:40:03 +0000 (22:40 +0200)] 
Basic implementation for private key rollover (#294)

* initial commit for PRIVATE_KEY_ROLLOVER

* fix if syntax

* rolloverkey without  timestamps

* update example config: PRIVATE_KEY_ROLLOVER

* rolloverkey creation logic updated

* updated tests. untested.

* added cleanup for rolloverkeys: if disabled, delete privkey.roll.pem

9 years agofix lighttpd syntax (#299)
Elan Ruusamäe [Mon, 17 Oct 2016 20:11:34 +0000 (23:11 +0300)] 
fix lighttpd syntax (#299)

at least in 1.4 the syntax is `server.modules` and it's an array.
and it's always good idea to keep trailing comma to avoid syntax errors when adding new entries.

9 years agoexamples/hook: no bashism (#300)
Elan Ruusamäe [Mon, 17 Oct 2016 20:08:14 +0000 (23:08 +0300)] 
examples/hook: no bashism (#300)

use plain shell syntax,
also protect against if arguments contain spaces.

9 years agoRevert "strip leading null-bytes from urlbase64" (see #282)
Lukas Schauer [Wed, 21 Sep 2016 11:20:51 +0000 (13:20 +0200)] 
Revert "strip leading null-bytes from urlbase64" (see #282)

This reverts commit 319852dc8cf167d8baeb0848b4998e86a02aa2d0.

9 years agostrip leading null-bytes from urlbase64 (fixes #275)
Lukas Schauer [Sat, 17 Sep 2016 11:15:15 +0000 (13:15 +0200)] 
strip leading null-bytes from urlbase64 (fixes #275)

9 years agouse temporary file for DER->PEM conversion (fixes #279)
Lukas Schauer [Sat, 17 Sep 2016 11:02:48 +0000 (13:02 +0200)] 
use temporary file for DER->PEM conversion (fixes #279)

9 years agoadded temporary wrapper script for compatibility with old config locations and symlin...
Lukas Schauer [Sat, 17 Sep 2016 10:44:41 +0000 (12:44 +0200)] 
added temporary wrapper script for compatibility with old config locations and symlinks, will be removed in a few weeks

9 years agoMake example hook.sh file executable. (#253)
leonklingele [Wed, 14 Sep 2016 13:11:25 +0000 (15:11 +0200)] 
Make example hook.sh file executable. (#253)

So one can easily `cp docs/examples/hook.sh .`

9 years agoupdated date in license file
Lukas Schauer [Tue, 13 Sep 2016 18:39:10 +0000 (20:39 +0200)] 
updated date in license file

really early for this change

9 years agoupdate readme with explanation why this project was renamed
Lukas Schauer [Tue, 13 Sep 2016 18:15:30 +0000 (20:15 +0200)] 
update readme with explanation why this project was renamed

9 years agofixed a few things after project rename v0.3.1
Lukas Schauer [Tue, 13 Sep 2016 17:57:14 +0000 (19:57 +0200)] 
fixed a few things after project rename

9 years agoUpdate CHANGELOG
Lukas Schauer [Tue, 13 Sep 2016 17:55:34 +0000 (19:55 +0200)] 
Update CHANGELOG

9 years agoreadme fix
Lukas Schauer [Tue, 13 Sep 2016 17:53:43 +0000 (19:53 +0200)] 
readme fix

9 years agorenamed project to dehydrated and main script to dehydrated.sh
Lukas Schauer [Tue, 13 Sep 2016 17:48:27 +0000 (19:48 +0200)] 
renamed project to dehydrated and main script to dehydrated.sh

9 years agorelease v0.3.0 v0.3.0
Lukas Schauer [Wed, 7 Sep 2016 19:20:28 +0000 (21:20 +0200)] 
release v0.3.0

9 years agoECDSA is supported since February 10, 2016 (#260)
leonklingele [Mon, 22 Aug 2016 13:40:37 +0000 (15:40 +0200)] 
ECDSA is supported since February 10, 2016 (#260)

Let's Encrypt will however sign all ECDSA certs with an RSA intermediate certificate.
https://letsencrypt.org/upcoming-features/

9 years agoUpdate staging doc: Let's Encrypt is no longer in beta. (#259)
leonklingele [Mon, 22 Aug 2016 13:38:29 +0000 (15:38 +0200)] 
Update staging doc: Let's Encrypt is no longer in beta. (#259)

9 years agoFix default license help text in example config (#254)
leonklingele [Sat, 6 Aug 2016 13:32:53 +0000 (15:32 +0200)] 
Fix default license help text in example config (#254)

9 years agoupdated readme
Lukas Schauer [Wed, 3 Aug 2016 22:11:08 +0000 (00:11 +0200)] 
updated readme

9 years agoOnly print full chain on signcsr command if --full-chain/-fc is set (related to ...
Lukas Schauer [Wed, 3 Aug 2016 22:11:02 +0000 (00:11 +0200)] 
Only print full chain on signcsr command if --full-chain/-fc is set (related to #150)

9 years agoEcho newline after error details
BtbN [Tue, 23 Feb 2016 14:05:08 +0000 (15:05 +0100)] 
Echo newline after error details

9 years agoAdd support for --keep-going in cron mode
BtbN [Tue, 23 Feb 2016 14:02:18 +0000 (15:02 +0100)] 
Add support for --keep-going in cron mode

Fixes #154

9 years agoUpdate staging.md
Lukas Schauer [Wed, 3 Aug 2016 21:47:57 +0000 (23:47 +0200)] 
Update staging.md

9 years agoupdated url to letsencrypt license agreement
Lukas Schauer [Mon, 1 Aug 2016 18:35:46 +0000 (20:35 +0200)] 
updated url to letsencrypt license agreement

9 years agoAdded option to run letsencrypt.sh without locks
Lukas Schauer [Thu, 21 Jul 2016 10:34:40 +0000 (12:34 +0200)] 
Added option to run letsencrypt.sh without locks

This should only be used when letsencrypt.sh is under control by a
different script which makes sure that no two processes are touching the
same files.

9 years agoDefault WELLKNOWN location is now `/var/www/letsencrypt`
Lukas Schauer [Wed, 20 Jul 2016 15:04:25 +0000 (17:04 +0200)] 
Default WELLKNOWN location is now `/var/www/letsencrypt`

With this change private and public files are now separated by default.

9 years agoAdded option to select IP version of name to address resolution (#231)
chkhanu [Wed, 20 Jul 2016 14:49:04 +0000 (21:49 +0700)] 
Added option to select IP version of name to address resolution (#231)

9 years agoIntroduce per cert configuration directory DOMAINS_D (#242)
Martin Schut [Wed, 13 Jul 2016 11:23:15 +0000 (13:23 +0200)] 
Introduce per cert configuration directory DOMAINS_D (#242)

9 years agomodified lighttpd example config
Lukas Schauer [Fri, 10 Jun 2016 21:41:59 +0000 (23:41 +0200)] 
modified lighttpd example config

9 years agoAdd Lighttpd example to wellknown.md (#224)
Domen Puncer Kugler [Tue, 7 Jun 2016 23:49:50 +0000 (00:49 +0100)] 
Add Lighttpd example to wellknown.md (#224)

10 years agoremoved ACCOUNT_KEY and ACCOUNT_KEY_JSON from example config
Lukas Schauer [Sat, 4 Jun 2016 09:12:30 +0000 (11:12 +0200)] 
removed ACCOUNT_KEY and ACCOUNT_KEY_JSON from example config

10 years agoInclude method and URL in curl error (#214)
Christian Tacke [Sat, 4 Jun 2016 02:15:16 +0000 (04:15 +0200)] 
Include method and URL in curl error (#214)

In case curl gives an error, it's helpful to know the URL
being tried and the method. In the GET case, one can easily
retry in the shell and debug this.

10 years agochanged dependency check for diff to be compatible with openbsd diff (fixes #219)
Lukas Schauer [Sat, 4 Jun 2016 02:12:21 +0000 (04:12 +0200)] 
changed dependency check for diff to be compatible with openbsd diff (fixes #219)

10 years agoadded multi-account support (fixes #92, #163)
Lukas Schauer [Sat, 4 Jun 2016 01:58:07 +0000 (03:58 +0200)] 
added multi-account support (fixes #92, #163)

10 years agoinitial support for configuration on per-certificate base (#105)
Lukas Schauer [Thu, 26 May 2016 15:09:07 +0000 (17:09 +0200)] 
initial support for configuration on per-certificate base (#105)

10 years agoadded signcsr change to CHANGELOG
Lukas Schauer [Thu, 26 May 2016 14:04:01 +0000 (16:04 +0200)] 
added signcsr change to CHANGELOG

10 years agooutput CA cert for signcsr command (fixes #150)
Lukas Schauer [Thu, 26 May 2016 13:41:25 +0000 (15:41 +0200)] 
output CA cert for signcsr command (fixes #150)

10 years agoadded CERTDIR change to CHANGELOG
Lukas Schauer [Thu, 26 May 2016 13:06:07 +0000 (15:06 +0200)] 
added CERTDIR change to CHANGELOG

10 years agoadded option to set csr-flag indicating ocsp stapling to be mandatory
Lukas Schauer [Thu, 26 May 2016 12:58:19 +0000 (14:58 +0200)] 
added option to set csr-flag indicating ocsp stapling to be mandatory

10 years agoCheck that the detected config is a file (#211)
Alex Macleod [Thu, 26 May 2016 13:02:15 +0000 (14:02 +0100)] 
Check that the detected config is a file (#211)

10 years agoMake certificate output location configurable (#210)
Alex Macleod [Thu, 26 May 2016 12:53:01 +0000 (13:53 +0100)] 
Make certificate output location configurable (#210)

10 years agorenamed "config.sh" to "config"
Lukas Schauer [Sun, 22 May 2016 20:34:28 +0000 (22:34 +0200)] 
renamed "config.sh" to "config"

10 years agoRemove unneded shebang for config.sh.example
Daniel Beyer [Thu, 21 Jan 2016 17:20:58 +0000 (18:20 +0100)] 
Remove unneded shebang for config.sh.example

10 years agoUpdate CHANGELOG
Lukas Schauer [Sun, 22 May 2016 16:50:17 +0000 (18:50 +0200)] 
Update CHANGELOG

10 years agoMake location of domains.txt configurable (#204)
Daniel Beyer [Sun, 22 May 2016 16:49:17 +0000 (18:49 +0200)] 
Make location of domains.txt configurable (#204)

This is implemented by defining ${DOMAINS_TXT} in config.sh. If not
set in config.sh, it defaults to the previously (hard-coded) location,
which is ${BASEDIR}/domains.txt.

10 years agorelease version 0.2.0 v0.2.0
Lukas Schauer [Sun, 22 May 2016 14:10:12 +0000 (16:10 +0200)] 
release version 0.2.0

10 years agocompatibility with "pretty" json (fixes #202)
Lukas Schauer [Wed, 18 May 2016 10:19:48 +0000 (12:19 +0200)] 
compatibility with "pretty" json (fixes #202)

10 years agoupdated docs/wellknown.md
Lukas Schauer [Mon, 16 May 2016 10:19:45 +0000 (12:19 +0200)] 
updated docs/wellknown.md

10 years agoMerge pull request #201 from glensc/patch-1
Lukas Schauer [Mon, 16 May 2016 09:36:22 +0000 (11:36 +0200)] 
Merge pull request #201 from glensc/patch-1

Update wellknown.md

10 years agoUpdate wellknown.md 201/head
Elan Ruusamäe [Sat, 14 May 2016 17:19:19 +0000 (20:19 +0300)] 
Update wellknown.md

apache config that would work for 1.3, 2.0, 2.2 and 2.4

10 years agofixed tests
Lukas Schauer [Tue, 10 May 2016 20:18:10 +0000 (22:18 +0200)] 
fixed tests

10 years agoUpdated changelog
Lukas Schauer [Tue, 10 May 2016 20:16:35 +0000 (22:16 +0200)] 
Updated changelog

10 years agoRenew private key by default, but keep option to disable this feature
Lukas Schauer [Tue, 10 May 2016 20:14:23 +0000 (22:14 +0200)] 
Renew private key by default, but keep option to disable this feature

10 years agoRevert "Removed option to reuse old private keys." (useful for HKPK, see #195)
Lukas Schauer [Tue, 10 May 2016 20:11:57 +0000 (22:11 +0200)] 
Revert "Removed option to reuse old private keys." (useful for HKPK, see #195)

This reverts commit 4dc99533195a91a2329fe9bee38fd9a628ef9c05.

10 years agoRemoved option to reuse old private keys.
Lukas Schauer [Sun, 8 May 2016 13:51:11 +0000 (15:51 +0200)] 
Removed option to reuse old private keys.

I have no idea why I thought reusing the keys would be a good idea
when I first started this...

10 years agoremoved donation button
Lukas Schauer [Wed, 27 Apr 2016 21:24:45 +0000 (23:24 +0200)] 
removed donation button

10 years agoMerge pull request #184 from gboudrias/master
Lukas Schauer [Tue, 26 Apr 2016 20:02:43 +0000 (22:02 +0200)] 
Merge pull request #184 from gboudrias/master

wellknown.md: Clarify WELLKNOWN variable

10 years agoUpdate wellknown.md 184/head
Guillaume Boudrias [Tue, 26 Apr 2016 19:18:45 +0000 (15:18 -0400)] 
Update wellknown.md

10 years agowellknown.md: Clarify WELLKNOWN variable
Guillaume Boudrias [Tue, 26 Apr 2016 18:07:54 +0000 (14:07 -0400)] 
wellknown.md: Clarify WELLKNOWN variable

10 years agoupdated config example: PRIVATE_KEY is now ACCOUNT_KEY
Lukas Schauer [Sun, 24 Apr 2016 17:56:31 +0000 (19:56 +0200)] 
updated config example: PRIVATE_KEY is now ACCOUNT_KEY

10 years agoupdated changelog
Lukas Schauer [Sun, 24 Apr 2016 17:54:33 +0000 (19:54 +0200)] 
updated changelog

10 years agorenamed PRIVATE_KEY to ACCOUNT_KEY (as suggested in #183)
Lukas Schauer [Sun, 24 Apr 2016 17:38:37 +0000 (19:38 +0200)] 
renamed PRIVATE_KEY to ACCOUNT_KEY (as suggested in #183)

10 years agomktemp: use TMPDIR environment variable or use fallback to /tmp directory
Lukas Schauer [Sat, 23 Apr 2016 18:53:29 +0000 (20:53 +0200)] 
mktemp: use TMPDIR environment variable or use fallback to /tmp directory

10 years agoreenabled build status in readme
Lukas Schauer [Sat, 23 Apr 2016 18:50:31 +0000 (20:50 +0200)] 
reenabled build status in readme

10 years agoi hate all software.
Lukas Schauer [Sat, 23 Apr 2016 16:30:56 +0000 (18:30 +0200)] 
i hate all software.

10 years agoadded timestamp parameter to deploy_cert function of example hook script (related...
Lukas Schauer [Thu, 14 Apr 2016 23:34:23 +0000 (01:34 +0200)] 
added timestamp parameter to deploy_cert function of example hook script (related to #156)

10 years agoreorganized parameters for mktemp (fixes #180)
Lukas Schauer [Thu, 14 Apr 2016 15:32:05 +0000 (17:32 +0200)] 
reorganized parameters for mktemp (fixes #180)

10 years agoadded documentation for HOOK_CHAIN config parameter
Lukas Schauer [Fri, 8 Apr 2016 22:06:22 +0000 (00:06 +0200)] 
added documentation for HOOK_CHAIN config parameter

10 years agotemporarily removed build status from readme (testserver is down)
Lukas Schauer [Tue, 5 Apr 2016 18:13:13 +0000 (20:13 +0200)] 
temporarily removed build status from readme (testserver is down)

10 years agomake arguments to _mktemp optional (fixes #178)
Lukas Schauer [Tue, 5 Apr 2016 18:08:40 +0000 (20:08 +0200)] 
make arguments to _mktemp optional (fixes #178)