Commit Graph

222 Commits

Author SHA1 Message Date
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 67a44aa4e3 Merge pull request #88 from f1rebird/master 2016-01-15 23:36:28 +01:00
Lukas Schauer ee62e7cbb2 Merge pull request #82 from jantore/wellknown-http-only
Require $WELLKNOWN only when using http-01.
2016-01-15 23:29:14 +01:00
Lukas Schauer ee077cfadc Merge pull request #85 from jaquer/fix-exit
Added missing space before exit code.
2016-01-15 23:24:45 +01:00
Moritz Kick 115041cd0f I's are important 2016-01-15 23:22:24 +01:00
Lukas Schauer 788762437a Merge pull request #86 from petrkle/lock-dir-writable
Check if directory for LOCKFILE is writable.
2016-01-15 23:20:28 +01:00
Lukas Schauer 63ab72a521 check for sed with support for extended regular expressions 2016-01-15 23:03:12 +01:00
Petr 61ba0daf66 Fix typo 2016-01-15 10:43:34 +01:00
Petr 291b9f245e Check if directory for LOCKFILE is writable. 2016-01-15 10:25:06 +01:00
Arturo R 7191ed2551 Added missing space before exit code. 2016-01-13 20:33:13 -08: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
Jan Tore Morken d9de894cad Require $WELLKNOWN only when using http-01. 2016-01-09 18:42:50 +01:00
Lukas Schauer ec9d3cd1cd Merge pull request #81 from pascalj/remove-home-path
Remove home path from config.sh.example
2016-01-09 15:51:33 +01:00
Pascal Jungblut 184391acaa Remove home path from config.sh.example 2016-01-09 15:13:48 +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 9b78b251d5 made link in readme clickable 2016-01-08 22:29:36 +01:00
Lukas Schauer 5878f16a40 moved import notice up in readme 2016-01-08 22:28:06 +01:00
Lukas Schauer 68efe6bb61 Merge pull request #77 from germeier/master
add support for dns-01 challenge - try 2
2016-01-08 22:26:45 +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
Markus Germeier e925b293c5 add support for dns-01 challenge - try 2 2016-01-08 22:09:27 +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
Markus Germeier ed27e013d1 make hook a command line parameter 2016-01-08 21:05:16 +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 ab4ad4129e Merge pull request #71 from chrisb86/master
Changed shebang of import-certs.sh to #!/usr/bin/env bash
2016-01-06 20:55:23 +01:00
Christian Busch ff08e39c5d Changed shebang of import-certs.sh to #!/usr/bin/env bash 2016-01-06 19:12:08 +01:00
Lukas Schauer 2bc73198b4 Merge pull request #68 from onovy/master
Renew certificate 30 days before expiration
2016-01-05 15:21:49 +01:00
Lukas Schauer 1ebe458088 Merge pull request #69 from olf/upstream
fix typo in test.sh (ngrok not found)
2016-01-05 15:20:56 +01:00
Olaf Peters ebe9ea3d8b fix typo in test.sh (ngrok not found) 2016-01-05 12:27:26 +01:00
Ondřej Nový da2795d34d Renew certificate 30 days before expiration
According to https://community.letsencrypt.org/t/quick-start-guide/1631
Renewals and Lifetimes:
Certificates from Let's Encrypt are valid for 90 days. We recommend
renewing them every 60 days to provide a nice margin of error.
2016-01-02 21:14:34 +01:00