Commit Graph

213 Commits

Author SHA1 Message Date
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
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
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
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
6d64c8d452 Merge pull request #59 from erdgeist/master
when using printf, we do not need inline expansion of variables
2015-12-19 23:34:08 +01:00
Dirk Engling
0714919600 when using printf, we do not need inline expansion of variables 2015-12-19 23:26:49 +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
Lukas Schauer
3bc1cf91ce shellcheck fixes 2015-12-19 02:38:41 +01:00
Markus Germeier
c70180364b revoke: follow symlink, exit with error on non-existing certificate file 2015-12-19 02:24:55 +01:00
Dominik Heidler
0ed6a25795 add perl shebang 2015-12-19 02:00:34 +01:00