Alex Macleod
0d8b928923
Check that the detected config is a file ( #211 )
2016-05-26 15:02:15 +02:00
Alex Macleod
785ffa5539
Make certificate output location configurable ( #210 )
2016-05-26 14:53:01 +02:00
Lukas Schauer
d5b285868e
renamed "config.sh" to "config"
2016-05-22 22:34:28 +02:00
Daniel Beyer
a3e5ed361b
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.
2016-05-22 18:49:17 +02:00
Lukas Schauer
561f0626b8
compatibility with "pretty" json ( fixes #202 )
2016-05-18 12:19:48 +02:00
Lukas Schauer
e608dc2ba8
Renew private key by default, but keep option to disable this feature
2016-05-10 22:14:23 +02:00
Lukas Schauer
af2bc7a94f
Revert "Removed option to reuse old private keys." (useful for HKPK, see #195 )
...
This reverts commit 4dc9953319 .
2016-05-10 22:11:57 +02:00
Lukas Schauer
4dc9953319
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...
2016-05-08 15:57:15 +02:00
Lukas Schauer
8aa1a05bbe
renamed PRIVATE_KEY to ACCOUNT_KEY (as suggested in #183 )
2016-04-24 19:43:15 +02:00
Lukas Schauer
c3dbfe88d4
mktemp: use TMPDIR environment variable or use fallback to /tmp directory
2016-04-23 20:53:29 +02:00
Lukas Schauer
f096c62d49
i hate all software.
2016-04-23 18:30:56 +02:00
Lukas Schauer
230ab45948
reorganized parameters for mktemp ( fixes #180 )
2016-04-14 17:32:05 +02:00
Lukas Schauer
75985c6a8a
make arguments to _mktemp optional ( fixes #178 )
2016-04-05 20:08:40 +02:00
Lukas Schauer
33f07fcc0b
add test and fix bug with upper-case domains ( fixes #176 )
2016-03-30 17:51:47 +02:00
Lukas Schauer
1f6a80a0c7
Make temporary files identifiable ( fixes #169 )
2016-03-30 17:51:47 +02:00
Lukas Schauer
d5c9dd65d5
added timestamp to parameters of deploy_cert hook and exported KEY_ALGO (as suggested in #156 )
2016-03-26 01:59:05 +01:00
Lukas Schauer
0fa381ff99
added short license information to script
2016-03-26 01:41:40 +01:00
Lukas Schauer
2e55e0a926
Merge pull request #172 from bzed/master
...
Keep registration information as json.
2016-03-22 15:17:04 +01:00
Lukas Schauer
5c68c221c7
making shellcheck happy with some of the code again
2016-03-22 15:13:02 +01:00
Lukas Schauer
f21f7202cc
Merge pull request #165 from bahamat/portability
...
Use of 'grep -o' doesn't work on SunOS (fixes #164 )
2016-03-22 15:00:33 +01:00
Bernd Zeimetz
d1e573c037
Keep registration information as json.
...
In some cases you need your registration id,
for example if you want to request a rate limit exception.
So keep the new-reg output on disk.
2016-03-22 14:04:56 +01:00
Brian Bennett
4b8883b47a
Use of 'grep -o' doesn't work on SunOS ( fixes #164 )
2016-03-19 08:29:54 -07:00
Lukas Schauer
bfeb21ad30
Merge pull request #157 from lschuermann/master
...
Add hook for unchanged certificates.
2016-03-19 13:55:28 +01:00
lschuermann
dd33de59d8
Change unchanged-certificate message.
2016-03-19 09:07:47 +01:00
Lukas Schauer
429c5250ed
Merge pull request #151 from beelbrecht/spaces_in_configpath
...
allow spaces in path to additional configuration file
2016-03-09 21:45:17 +01:00
Lukas Schauer
80850767bc
removed duplicated io handles
2016-03-08 22:05:32 +01:00
lschuermann
705fb54e92
Add hook for unchanged certificates.
2016-03-01 22:29:15 +01:00
Benjamin Albrecht
e2d8bfa4c3
allow spaces in path to additional configuration file
2016-02-21 01:41:53 +01:00
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
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
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
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
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
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
Valentin Hilbig
0c429af99b
pass IO descriptors to HOOK transparently
...
closes #101
2016-01-25 01:12:56 +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