]> git.street.me.uk Git - andy/dehydrated.git/log
andy/dehydrated.git
7 years agoOutput date and time when performing --cron task. master
Andy Street [Sun, 12 Mar 2017 14:14:41 +0000 (14:14 +0000)]
Output date and time when performing --cron task.

7 years agoMerge remote-tracking branch 'origin/master'
Andy Street [Sun, 12 Mar 2017 14:09:18 +0000 (14:09 +0000)]
Merge remote-tracking branch 'origin/master'

7 years agorelease 0.4.0
Lukas Schauer [Sun, 5 Feb 2017 14:33:17 +0000 (15:33 +0100)]
release 0.4.0

7 years agoimproved register command (closes #350)
Lukas Schauer [Sun, 5 Feb 2017 14:32:29 +0000 (15:32 +0100)]
improved register command (closes #350)

7 years agoalso test under osx
Lukas Schauer [Sat, 4 Feb 2017 12:48:58 +0000 (13:48 +0100)]
also test under osx

7 years agotrying to fix compatibility with mawk
Lukas Schauer [Sat, 4 Feb 2017 12:32:56 +0000 (13:32 +0100)]
trying to fix compatibility with mawk

7 years agoMerge branch 'simondeziel-fix-example-hook'
Lukas Schauer [Tue, 31 Jan 2017 01:58:29 +0000 (02:58 +0100)]
Merge branch 'simondeziel-fix-example-hook'

7 years agoInvoke bash through /usr/bin/env
Simon Deziel [Tue, 31 Jan 2017 01:47:23 +0000 (20:47 -0500)]
Invoke bash through /usr/bin/env

7 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>
7 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)

7 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

7 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)

7 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.

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

7 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

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

7 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

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

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

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

7 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

7 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)

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

7 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

7 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

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

7 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

7 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)

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

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

7 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.

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

7 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)

7 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.

7 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

7 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/

7 years agoAllow domains to be sourced from DOMAINS_D without maintaining a separate DOMAINS_TXT...
Andy Street [Mon, 21 Nov 2016 23:12:40 +0000 (23:12 +0000)]
Allow domains to be sourced from DOMAINS_D without maintaining a separate DOMAINS_TXT file

* If the DOMAIN_TXT file does not exist or is not specified on the command line use the
  filenames supplied in DOMAINS_D instead.

* Add a per-domain config value ALT_NAMES to specify certificate SAN values.

7 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

7 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

7 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.

7 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.

8 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.

8 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)

8 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)

8 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

8 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 .`

8 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

8 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

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

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

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

8 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

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

8 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/

8 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)

8 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)

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

8 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)

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

8 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

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

8 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

8 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.

8 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.

8 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)

8 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)

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

8 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)

8 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

8 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.

8 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)

8 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)

8 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)

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

8 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)

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

8 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

8 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)

8 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)

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

8 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

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

8 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.

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

8 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)

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

8 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

8 years agoUpdate wellknown.md
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

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

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

8 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

8 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.

8 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...

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

8 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

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

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

8 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

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

8 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)