Commit Graph

282 Commits

Author SHA1 Message Date
Lukas Schauer
2099c77fee no longer use stdin for domain-list (should fix #149, replaces #113) 2016-02-20 22:20:40 +01:00
Lukas Schauer
63a4937658 Merge pull request #141 from fancycode/null_glob
Handle case where no files to cleanup exist.
2016-02-18 11:08:01 +01:00
Joachim Bauch
ac2d8303f1 Handle case where no files to cleanup exists.
This fixes cases where "*.foo" expands to the string "*.foo" if no matching files exist.
2016-02-18 09:36:52 +01:00
Lukas Schauer
669185a0d6 Merge pull request #144 from o1oo11oo/pass_chainfile_to_hook
Pass intermediate cert to hook script
2016-02-17 23:04:58 +01:00
o1oo11oo
142b92f1c8 Add hook.sh to .gitignore 2016-02-17 22:26:19 +01:00
o1oo11oo
ef3144483e Pass intermediate cert to hook script 2016-02-17 22:25:44 +01:00
Lukas Schauer
75be937a8f allow spaces in path to hook-script (fixes #142) 2016-02-17 19:00:33 +01:00
Lukas Schauer
898e75f29d Merge pull request #143 from rumpelsepp/master
Use /usr/bin/env bash shebang
2016-02-17 18:56:39 +01:00
Stefan Tatschner
1561e9fc6d Use /usr/bin/env bash shebang
On FreeBSD bash is installed in /usr/local/bin; this patch
alters the shebang to use /usr/bin/env bash instead, to ensure
that the shell scripts work on (particularly) the *BSDs as well.
2016-02-17 15:53:11 +01:00
Lukas Schauer
f6e6c1f173 Merge pull request #139 from fancycode/cleanup_skip_non_folders
Skip non-folder entries on cleanup.
2016-02-16 17:06:55 +01:00
Joachim Bauch
f9430025bc Skip non-folder entries on cleanup. 2016-02-16 16:53:47 +01:00
Lukas Schauer
dec95fff15 load config in cleanup command (fixes #137) 2016-02-15 21:41:18 +01:00
Lukas Schauer
a35b89e914 added test for cleanup command 2016-02-15 20:41:28 +01:00
Lukas Schauer
63b61b8931 updated readme 2016-02-15 20:26:40 +01:00
Lukas Schauer
e60682c06c implemented cleanup command (moving unused files to archive directory) 2016-02-15 20:26:25 +01:00
Lukas Schauer
1233dc950c exit with error message if curl has problems connecting (fixes #133) 2016-02-15 19:51:35 +01:00
Lukas Schauer
5ef4d86b19 Merge pull request #135 from aral/patch-1
Updated Readme with rate limit warning + staging URL
2016-02-15 03:49:50 +01:00
Aral Balkan
c407d757a1 Updated Readme with rate limit warning + staging URL
There is currently no mention of Let’s Encrypt rate limits or the staging server. I’ve updated the readme so that the rate limit notice is prominently displayed and the necessary config setting to use the staging server is included in the instructions.
2016-02-12 15:07:47 +00:00
Lukas Schauer
f7c079cb80 do not fail on pass. 2016-02-10 19:38:52 +01:00
Lukas Schauer
bfb45d8b8f fixed signcsr test 2016-02-10 19:31:13 +01:00
Lukas Schauer
0d842e873d fixed config location in test script 2016-02-10 19:28:54 +01:00
Lukas Schauer
c9823c25fc added more tests 2016-02-10 19:27:33 +01:00
Lukas Schauer
676d15c5df check if hooks are chained before calling cleanup-hook on errors (fixes #126) 2016-02-10 19:09:17 +01:00
Lukas Schauer
34f943227e fixed splitting of domain names in extract_altnames (fixes #127) 2016-02-10 19:05:06 +01:00
Lukas Schauer
39c01fd70a use more {} thingies around variables 2016-02-10 12:06:06 +01:00
Lukas Schauer
da2eeda97d fixed some zsh quirks 2016-02-10 12:05:32 +01:00
Lukas Schauer
85a25b56b7 changed the way SCRIPTDIR is searched for so it works better with symbolic links (e.g. a symbolic link in ~/.bin) 2016-02-10 12:05:04 +01:00
Lukas Schauer
21c18dd3b8 use "openssl dgst" instead of "openssl sha" (fixes #120) 2016-02-05 16:02:17 +01:00
Lukas Schauer
5c18948323 check if privkey exists and is readable instead of checking if it's a regular file (fixes #122) 2016-02-05 15:58:01 +01:00
Gerard Dombroski
6e048f7fe0 Add option to chain challenge hook arguments. Fixes #79. 2016-02-05 15:49:42 +01:00
Lukas Schauer
fb7c6c0302 Merge pull request #118 from allixx/lockfile-config.sh.example
Added LOCKFILE to config.sh.example
2016-02-03 03:20:31 +01:00
allixx
a87b92649e Added LOCKFILE to config.sh.example 2016-02-02 11:16:53 +03:00
Lukas Schauer
b6fafea0f5 added link to wiki page with example scripts for dns-01, fixes #117 2016-02-01 18:55:27 +01:00
Lukas Schauer
79ff846e26 don't try to delete DOMAINS_TXT on early failure when not yet set 2016-01-26 17:49:28 +01:00
Lukas Schauer
36a03146c9 fixed curl check (fixes #112) 2016-01-26 17:16:43 +01:00
Lukas Schauer
79b17feb9b Merge pull request #111 from weppos/patch-1
The dns-01 support is now available in production
2016-01-26 17:15:19 +01:00
Lukas Schauer
81512f232f Merge pull request #113 from hilbix/master
pass IO descriptors to HOOK transparently
2016-01-26 17:12:11 +01:00
Valentin Hilbig
0c429af99b pass IO descriptors to HOOK transparently
closes #101
2016-01-25 01:12:56 +01:00
Simone Carletti
08ced4bd22 The dns-01 support is now available in production
See https://twitter.com/letsencrypt/status/689919523164721152
2016-01-24 10:45:43 +01:00
Lukas Schauer
3432f60e33 Merge pull request #107 from jantore/hook-example
Add hook script example.
2016-01-23 12:43:00 +01:00
Jan Tore Morken
f1bea8abc5 Add hook script example. 2016-01-22 21:48:19 +01:00
Lukas Schauer
ef7a3adb89 Merge pull request #95 from nielslaukens/master
Add ability to sign "arbitrary" CSRs
2016-01-22 16:54:47 +01:00
Lukas Schauer
e5c4c0ff20 Merge pull request #103 from nneul/fix-issue-102
Retain full result when submitting challenge. Fixes #102
2016-01-22 16:46:34 +01:00
Lukas Schauer
8636929fcd Merge pull request #99 from ymc/feature/add_conf.d_support
Add conf.d support
2016-01-22 16:40:21 +01:00
Lukas Schauer
35f9049718 Merge pull request #97 from ymc/feature/fix_syntax_highlighting
Fix possibly broken syntax highlighting
2016-01-22 16:36:35 +01:00
Lukas Schauer
e6b3d4fcd4 Merge pull request #100 from davidearl/master
Add detail as to how dns-01 hook works
2016-01-22 16:35:03 +01:00
Lukas Schauer
d1b20b3540 Merge pull request #98 from ymc/fix/configuring_BASEDIR_does_not_affect_built_in_defaults
Respect configured BASEDIR for default values
2016-01-22 16:31:15 +01:00
Nathan Neulinger
72cc024ea4 Retain full result when submitting challenge. Fixes #102 2016-01-21 23:11:11 +00:00
davidearl
682b1d5bf5 Add detail as to how dns-01 hook works 2016-01-21 15:39:18 +00:00
Daniel Beyer
a1cb7cccd2 Add conf.d support
This adds support for a new config variable CONFIG_D in the main configuration
file. Setting a path to a directoy for CONFIG_D advises letsencrypt.sh to
source any additional files found in the specified CONFIG_D directory, that
have a '.sh' ending.
By default CONFIG_D is not set, meaning letsencrypt.sh does not source any
additional configuration files.
2016-01-21 16:29:16 +01:00