Commit Graph
100 Commits
Author SHA1 Message Date
Lukas Schauer ec49a4433b fixed a few things after project rename 2016-09-13 20:00:43 +02:00
Lukas Schauer 64e35463cb renamed project to dehydrated and main script to dehydrated.sh 2016-09-13 19:48:27 +02:00
Lukas Schauer 992beecbdb release v0.3.0 2016-09-07 21:20:28 +02:00
Lukas Schauer 624ce4436a updated readme 2016-08-04 00:11:08 +02:00
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
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
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 64864f5fa6 added signcsr change to CHANGELOG 2016-05-26 16:04:01 +02:00
Lukas Schauer 620c7eb23e output CA cert for signcsr command (fixes #150) 2016-05-26 15:44:59 +02:00
Lukas Schauer 4e8f944b72 added CERTDIR change to CHANGELOG 2016-05-26 15:06:07 +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
Lukas Schauer d5b285868e renamed "config.sh" to "config" 2016-05-22 22:34:28 +02:00
Lukas Schauer 2b50c72b75 release version 0.2.0 2016-05-22 16:10:12 +02:00
Lukas Schauer 561f0626b8 compatibility with "pretty" json (fixes #202) 2016-05-18 12:19:48 +02:00
Lukas Schauer 969bebef95 updated docs/wellknown.md 2016-05-16 12:22:42 +02:00
Lukas Schauer a2867410ca fixed tests 2016-05-10 22:18:10 +02:00
Lukas Schauer 42f4255693 Updated changelog 2016-05-10 22:16:35 +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 a7c6af6895 removed donation button 2016-04-27 23:24:58 +02:00
Lukas Schauer adef40762c updated config example: PRIVATE_KEY is now ACCOUNT_KEY 2016-04-24 19:56:31 +02:00
Lukas Schauer 8968604caf updated changelog 2016-04-24 19:54:33 +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 b0e2ecde5f added timestamp parameter to deploy_cert function of example hook script (related to #156) 2016-04-15 01:34:23 +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 7838191ddf added another api limit message to troubleshooting.md 2016-03-26 01:54:29 +01:00
Lukas Schauer 0fa381ff99 added short license information to script 2016-03-26 01:41:40 +01:00
Lukas Schauer 65a834ba3e moved example files to docs/examples directory 2016-03-26 01:41:13 +01:00
Lukas Schauer 12c77ca51d rearranged documentation, added basic troubleshooting guide 2016-03-26 01:36:47 +01:00
Lukas Schauer 34c238524e added changelog 2016-03-25 20:35:01 +01:00
Lukas Schauer 5c68c221c7 making shellcheck happy with some of the code again 2016-03-22 15:13:02 +01:00
Lukas Schauer 80850767bc removed duplicated io handles 2016-03-08 22:05:32 +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 75be937a8f allow spaces in path to hook-script (fixes #142) 2016-02-17 19:00:33 +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 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
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 a1a9c8a4a5 added header with script-name and url to github repository 2016-01-16 22:29:09 +01:00
Lukas Schauer c3c9ff4c75 moved OSTYPE check and use built-in [[ for OSTYPE check 2016-01-16 22:28:17 +01:00
Lukas Schauer 0af7f388d6 check exitcode of curl -V because of some issue with ancient versions of curl returning error codes on checking the version number 2016-01-16 21:50:15 +01:00
Lukas Schauer f7c7d8c599 use different sed version for different system types (mostly for compatibility with ancient linux distros nobody should be using anyway ¯\_(ツ)_/¯) 2016-01-16 21:41:58 +01:00
Lukas Schauer 63ab72a521 check for sed with support for extended regular expressions 2016-01-15 23:03:12 +01:00
Lukas Schauer 2a7b48822a use -z instead of == "".. it's late. 2016-01-10 04:46:52 +01:00
Lukas Schauer fb0242a463 show help if no arguments are provided 2016-01-10 04:44:44 +01:00
Lukas Schauer d6ce88233e call mktemp with -t XXXXXX for compatibility with older BSD versions 2016-01-09 01:38:44 +01:00
Lukas Schauer 20a8169a2d fixed whitespace-stripping, replace all whitespace in domains.txt entries with single space character (fixes #60 and #78) 2016-01-08 23:03:06 +01:00
Lukas Schauer de17389245 cleanup for dns-01-challenge-support code 2016-01-08 22:51:57 +01:00
Lukas Schauer 5878f16a40 moved import notice up in readme 2016-01-08 22:28:06 +01:00
Lukas Schauer e45f28bb0e moved import scripts from repository to wiki and updated readme a bit 2016-01-08 22:20:16 +01:00
Lukas Schauer f7ddaa2eb8 check for mktemp dependency 2016-01-08 22:01:59 +01:00
Lukas Schauer 00810795d1 fixed BASEDIR dependent default config values 2016-01-08 21:55:38 +01:00
Lukas Schauer 30ad9584fd re-set RENEW_DAYS to 30 (got accidentally reverted in one of the previous commits) 2016-01-08 21:41:47 +01:00
Lukas Schauer a7934fe72d do not change exit code of loop in command_sign_domains 2016-01-08 20:33:59 +01:00
Lukas Schauer d760890c88 changed urlbase64 helper to also use sed for character replacements 2016-01-08 20:18:31 +01:00
Lukas Schauer f06f764f38 use _exiterr helper in a few more places 2016-01-08 20:00:30 +01:00
Lukas Schauer bc580335ae added a few more comments 2016-01-08 20:00:30 +01:00
Lukas Schauer 1446fd8806 removed get_json_array helper, rearranged sign_domain method a bit, made grep for PEM-format-check quiet 2016-01-08 20:00:30 +01:00
Lukas Schauer 59f16407c3 return error on invalid request method in http_request, shortened http_request a bit 2016-01-08 20:00:30 +01:00
Lukas Schauer 994803bf01 removed anti_newline helper 2016-01-08 20:00:30 +01:00
Lukas Schauer cc605a22bd moved _openssl helper a bit up to be near the other helper methods 2016-01-08 20:00:29 +01:00
Lukas Schauer 3dcfa8b48e rewritten command_revoke method (shortened + changed output to look less like one of those weird openssl error messages) 2016-01-08 20:00:29 +01:00
Lukas Schauer 92a822e0b8 updated readme 2016-01-08 19:59:43 +01:00
Lukas Schauer b57fd221f1 fixed --domain syntax in test.sh 2016-01-08 19:25:58 +01:00
Lukas Schauer 93cd114fee rewritten init_system method and parts of command_sign_domains (DOMAINS_TXT handling) 2016-01-08 19:24:23 +01:00
Lukas Schauer 7727f5ea61 rewritten help method to get rid of column dependency 2016-01-08 19:13:50 +01:00
Lukas Schauer 9f66bfdb50 rewritten argument handling and moved to new main() method, added dependency checks, added _exiterr helper 2016-01-08 19:10:50 +01:00
Lukas Schauer 16bef17e45 rewritten hex2bin method 2016-01-08 19:02:13 +01:00
Lukas Schauer ff11639624 moved loading of configuration to seperate method 2016-01-08 18:59:01 +01:00
Lukas Schauer 3a9e97f997 renamed _request method to http_request 2016-01-08 17:59:46 +01:00
Lukas Schauer 1573b6881a added license (fixes #63) 2015-12-22 15:11:39 +01:00
Lukas Schauer f090fbcf7f hide output of grep for pem-format-check 2015-12-20 19:54:43 +01:00
Lukas Schauer f70f3048f9 wat. removed some unnecessary code. 2015-12-19 23:24:29 +01:00
Lukas Schauer 7b9683445a readme: mores infos about WELLKNOWN 2015-12-19 17:45:24 +01:00