]> git.ipfire.org Git - thirdparty/dehydrated.git/log
thirdparty/dehydrated.git
7 years agofix account command 446/head
Andreas Loibl [Tue, 17 Oct 2017 14:39:46 +0000 (16:39 +0200)] 
fix account command

backup file path generation should split the filename on the last dot instead of the first

7 years agouse nullglob, disable warning on empty CONFIG_D directory
Lukas Schauer [Thu, 21 Sep 2017 16:10:01 +0000 (18:10 +0200)] 
use nullglob, disable warning on empty CONFIG_D directory

7 years agoallow for spaces when extracting commonName from csr (fixes #423)
Lukas Schauer [Wed, 20 Sep 2017 13:44:05 +0000 (15:44 +0200)] 
allow for spaces when extracting commonName from csr (fixes #423)

7 years agoalso show freebsd version
Lukas Schauer [Wed, 20 Sep 2017 13:31:38 +0000 (15:31 +0200)] 
also show freebsd version

7 years agofix issue #426 - version info on FreeBSD
Marcin Gryszkalis [Thu, 7 Sep 2017 09:15:49 +0000 (11:15 +0200)] 
fix issue #426 - version info on FreeBSD

7 years agostop verification loop after invalid challenge (fixes #431)
Lukas Schauer [Wed, 20 Sep 2017 13:17:30 +0000 (15:17 +0200)] 
stop verification loop after invalid challenge (fixes #431)

8 years agoreplace ${CERTDIR}/${domain} with ${certdir} everywhere
typingArtist [Thu, 8 Jun 2017 05:38:28 +0000 (07:38 +0200)] 
replace ${CERTDIR}/${domain} with ${certdir} everywhere

• improves readability
• allows ${certdir} to be changed independent from ${domain} more easily

8 years agoadded OPENSSL variable to example config (#414)
Lukas Schauer [Tue, 18 Jul 2017 13:46:10 +0000 (15:46 +0200)] 
added OPENSSL variable to example config (#414)

8 years agofixed error handling on non-2xx http status codes (#413)
Lukas Schauer [Tue, 18 Jul 2017 01:29:32 +0000 (03:29 +0200)] 
fixed error handling on non-2xx http status codes (#413)

8 years agocut path from url for ocsp host
Lukas Schauer [Wed, 12 Jul 2017 22:53:32 +0000 (00:53 +0200)] 
cut path from url for ocsp host

8 years agoocsp fetching should now also work with older openssl versions
Lukas Schauer [Wed, 12 Jul 2017 14:00:25 +0000 (16:00 +0200)] 
ocsp fetching should now also work with older openssl versions

8 years agoadd host header to ocsp request
Lukas Schauer [Wed, 12 Jul 2017 13:33:56 +0000 (15:33 +0200)] 
add host header to ocsp request

8 years agofixed exit_hook
Lukas Schauer [Tue, 11 Jul 2017 08:06:42 +0000 (10:06 +0200)] 
fixed exit_hook

8 years agorevocation: don't fail if certificate already has been revoked (fixes #236)
Lukas Schauer [Mon, 10 Jul 2017 23:30:30 +0000 (01:30 +0200)] 
revocation: don't fail if certificate already has been revoked (fixes #236)

8 years agocleanup old ocsp response files
Lukas Schauer [Mon, 10 Jul 2017 22:50:05 +0000 (00:50 +0200)] 
cleanup old ocsp response files

8 years agoexport altnames so it can be used in hook scripts (fixes #360)
Lukas Schauer [Mon, 10 Jul 2017 22:47:37 +0000 (00:47 +0200)] 
export altnames so it can be used in hook scripts (fixes #360)

8 years agosupport otherName SAN entries for domain verification (fixes #356)
Lukas Schauer [Mon, 10 Jul 2017 22:35:51 +0000 (00:35 +0200)] 
support otherName SAN entries for domain verification (fixes #356)

8 years agoInitial support for fetching OCSP status to be used for OCSP stapling (as suggested...
Lukas Schauer [Mon, 10 Jul 2017 22:27:28 +0000 (00:27 +0200)] 
Initial support for fetching OCSP status to be used for OCSP stapling (as suggested in #385)

8 years agoadded giant donation section to readme (please send me all your money)
Lukas Schauer [Mon, 10 Jul 2017 20:48:50 +0000 (22:48 +0200)] 
added giant donation section to readme (please send me all your money)

8 years agoload config for version information but disable verification
Lukas Schauer [Mon, 10 Jul 2017 19:36:32 +0000 (21:36 +0200)] 
load config for version information but disable verification

8 years agoadded hook to run before cron command (fixes #371)
Lukas Schauer [Mon, 10 Jul 2017 19:36:10 +0000 (21:36 +0200)] 
added hook to run before cron command (fixes #371)

8 years agospecify openssl config location when converting CSR to DER (fixes #397)
Lukas Schauer [Mon, 10 Jul 2017 18:32:05 +0000 (20:32 +0200)] 
specify openssl config location when converting CSR to DER (fixes #397)

8 years agoupdated changelog
Lukas Schauer [Mon, 10 Jul 2017 18:28:38 +0000 (20:28 +0200)] 
updated changelog

8 years agogit: ignore chains directory
Lukas Schauer [Mon, 10 Jul 2017 18:28:20 +0000 (20:28 +0200)] 
git: ignore chains directory

8 years agocleanup: also move .pem-revoked files (fixes #237)
Lukas Schauer [Mon, 10 Jul 2017 18:27:42 +0000 (20:27 +0200)] 
cleanup: also move .pem-revoked files (fixes #237)

8 years agoadded auto-cleanup feature to changelog
Lukas Schauer [Mon, 10 Jul 2017 18:23:27 +0000 (20:23 +0200)] 
added auto-cleanup feature to changelog

8 years agoadded option to automatically run cleanup routine (implements #389)
Lukas Schauer [Mon, 10 Jul 2017 18:20:04 +0000 (20:20 +0200)] 
added option to automatically run cleanup routine (implements #389)

8 years agoRedirect additional errors to STDERR
Herman van Rink [Mon, 17 Apr 2017 13:08:42 +0000 (15:08 +0200)] 
Redirect additional errors to STDERR

8 years agoRemove double output redirection, _exiterr already does >&2
Herman van Rink [Mon, 17 Apr 2017 12:54:42 +0000 (14:54 +0200)] 
Remove double output redirection, _exiterr already does >&2

8 years agoAdd some formatting to improve human scannability (while reading)
ProBackup-nl [Tue, 13 Jun 2017 21:20:32 +0000 (23:20 +0200)] 
Add some formatting to improve human scannability (while reading)

8 years agomade openssl binary configurable (closes #393, closes #379)
Lukas Schauer [Mon, 10 Jul 2017 17:13:30 +0000 (19:13 +0200)] 
made openssl binary configurable (closes #393, closes #379)

8 years agoremove duplicate -a short option from --account (fixes #410)
Lukas Schauer [Mon, 10 Jul 2017 16:21:06 +0000 (18:21 +0200)] 
remove duplicate -a short option from --account (fixes #410)

8 years agoadded version command
Lukas Schauer [Mon, 10 Jul 2017 15:21:22 +0000 (17:21 +0200)] 
added version command

8 years agoreplaced source url with dehydrated.de
Lukas Schauer [Mon, 10 Jul 2017 15:15:29 +0000 (17:15 +0200)] 
replaced source url with dehydrated.de

8 years agofixed typos as suggested by @jwilk (closes #369)
Lukas Schauer [Mon, 10 Jul 2017 14:55:18 +0000 (16:55 +0200)] 
fixed typos as suggested by @jwilk (closes #369)

8 years agoAbility to provide extra curl options
Andreas Thienemann [Sun, 28 May 2017 17:06:04 +0000 (19:06 +0200)] 
Ability to provide extra curl options

In some situations it might be necessary to pass extra commands to
the curl binary, e.g. proxy authentication credentials.

Adds the CURL_OPTS config option.

8 years agoAdd MSYS support
Haddon CD [Tue, 28 Mar 2017 01:30:40 +0000 (02:30 +0100)] 
Add MSYS support

8 years agodont strip for docker containers that cwd is /
Chase Bolt [Sun, 19 Feb 2017 04:00:46 +0000 (20:00 -0800)] 
dont strip for docker containers that cwd is /

8 years agoSupport older bash releases
Andreas Thienemann [Sun, 28 May 2017 16:30:58 +0000 (18:30 +0200)] 
Support older bash releases

Bash 3.0 and others seem to have serious issues running dehydrated.
https://github.com/lukas2511/dehydrated/issues/284 tracks the
problem but got closed as it seems too hard to support "stone age"
distributions.

Turns out it is actually only a three line change. ;-)

8 years agoAdd some comments about IPv6.
Ben Elliston [Tue, 27 Jun 2017 03:25:00 +0000 (13:25 +1000)] 
Add some comments about IPv6.

8 years agoimplemented issuer-chain cache
Lukas Schauer [Mon, 10 Jul 2017 13:06:06 +0000 (15:06 +0200)] 
implemented issuer-chain cache

8 years agoallow using parts of dehydrated without running the main script (intended for testing...
Lukas Schauer [Mon, 10 Jul 2017 12:51:55 +0000 (14:51 +0200)] 
allow using parts of dehydrated without running the main script (intended for testing parts of the script)

8 years agoupdated usage instructions in readme (added --account)
Lukas Schauer [Mon, 10 Jul 2017 12:08:29 +0000 (14:08 +0200)] 
updated usage instructions in readme (added --account)

8 years agoremoved build status from readme (test system seems to be broken...)
Lukas Schauer [Mon, 10 Jul 2017 12:07:15 +0000 (14:07 +0200)] 
removed build status from readme (test system seems to be broken...)

8 years agoupdated changelog with account-update feature
Lukas Schauer [Mon, 10 Jul 2017 12:05:45 +0000 (14:05 +0200)] 
updated changelog with account-update feature

8 years agoAdded new feature Update registration contact #239
Anton Avramov [Thu, 4 May 2017 10:20:49 +0000 (13:20 +0300)] 
Added new feature Update registration contact #239

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

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

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

8 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

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

8 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

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

8 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

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

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

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

8 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

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

8 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

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

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

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

8 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

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

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

8 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

8 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

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

8 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

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

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

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

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

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

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

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

8 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

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

8 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

8 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

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

8 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 v0.3.1
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 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)

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