Commit Graph

238 Commits

Author SHA1 Message Date
Lukas Schauer d81eb58536 Only print full chain on signcsr command if --full-chain/-fc is set (related to #150) 2016-08-04 00:11:02 +02:00
BtbN 117d5d6228 Echo newline after error details 2016-08-03 23:50:59 +02:00
BtbN 34565c193d Add support for --keep-going in cron mode
Fixes #154
2016-08-03 23:50:59 +02:00
Lukas Schauer afabfff06e updated url to letsencrypt license agreement 2016-08-01 20:35:46 +02:00
Lukas Schauer bd9cc5b0c4 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.
2016-07-21 12:34:40 +02:00
Lukas Schauer 194464b04b Default WELLKNOWN location is now /var/www/letsencrypt
With this change private and public files are now separated by default.
2016-07-20 17:04:25 +02:00
chkhanu 364bcccf74 Added option to select IP version of name to address resolution (#231) 2016-07-20 16:49:04 +02:00
Martin Schut 44aca90cd7 Introduce per cert configuration directory DOMAINS_D (#242) 2016-07-13 13:23:15 +02:00
Christian Tacke df292dece2 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.
2016-06-04 04:15:16 +02:00
Lukas Schauer f4138efab9 changed dependency check for diff to be compatible with openbsd diff (fixes #219) 2016-06-04 04:12:21 +02:00
Lukas Schauer 034ec30c7d added multi-account support (fixes #92, #163) 2016-06-04 04:01:24 +02:00
Lukas Schauer ec48906992 initial support for configuration on per-certificate base (#105) 2016-05-26 17:11:42 +02:00
Lukas Schauer 620c7eb23e output CA cert for signcsr command (fixes #150) 2016-05-26 15:44:59 +02:00
Lukas Schauer 8e77ba5e02 added option to set csr-flag indicating ocsp stapling to be mandatory 2016-05-26 15:02:23 +02:00
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